|
update : 2015.11.03
php.shukuma.com검색:
|
$GLOBALS(PHP 4, PHP 5) $GLOBALS — References all variables available in global scope 설명An associative array containing references to all variables which are currently defined in the global scope of the script. The variable names are the keys of the array. 예제
Example #1 $GLOBALS example
<?php위 예제의 출력 예시: $foo in global scope: Example content $foo in current scope: local variable 주의
|