• 코드:
​x
 
1
<!DOCTYPE html>
2
<html lang="ko">
3
​
4
<head>
5
    <meta charset="UTF-8">
6
    <title>PHP Constants</title>
7
</head>
8
​
9
<body>
10
​
11
<?php
12
    echo "<pre>";
13
    print_r(get_defined_constants(true));
14
    echo "</pre>";
15
?>
16
​
17
</body>
18
​
19
</html>