Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[_SERVER] => Array
(
[HTTPS] => on
[SSL_TLS_SNI] => w3resource.com
[HTTP_CF_RAY] => 8e64e6cb0c526179-EWR
[HTTP_X_FORWARDED_FOR] => 3.133.146.94
[HTTP_HOST] => w3resource.com
[HTTP_ACCEPT] => */*
[HTTP_ACCEPT_ENCODING] => gzip, br
[HTTP_CF_IPCOUNTRY] => US
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_CDN_LOOP] => cloudflare; loops=1
[HTTP_CONNECTION] => Keep-Alive
[HTTP_CF_VISITOR] => {"scheme":"https"}
[HTTP_CF_CONNECTING_IP] => 3.133.146.94
[HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => Apache/2.4.18 (Ubuntu) Server at w3resource.com Port 443
[SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
[SERVER_NAME] => w3resource.com
[SERVER_ADDR] => 198.211.115.131
[SERVER_PORT] => 443
[REMOTE_ADDR] => 68.183.26.73
[DOCUMENT_ROOT] => /var/www/html
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /var/www/html
[SERVER_ADMIN] => webmaster@localhost
[SCRIPT_FILENAME] => /var/www/html/php/function-reference/get_defined_vars-example1.php
[REMOTE_PORT] => 30560
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /php/function-reference/get_defined_vars-example1.php
[SCRIPT_NAME] => /php/function-reference/get_defined_vars-example1.php
[PHP_SELF] => /php/function-reference/get_defined_vars-example1.php
[REQUEST_TIME_FLOAT] => 1732236376.845
[REQUEST_TIME] => 1732236376
)
[_REQUEST] => Array
(
)
[_ENV] => Array
(
)
[GLOBALS] => Array
(
[_GET] => Array
(
)
[_POST] => Array
(
)
[_COOKIE] => Array
(
)
[_FILES] => Array
(
)
[_SERVER] => Array
(
[HTTPS] => on
[SSL_TLS_SNI] => w3resource.com
[HTTP_CF_RAY] => 8e64e6cb0c526179-EWR
[HTTP_X_FORWARDED_FOR] => 3.133.146.94
[HTTP_HOST] => w3resource.com
[HTTP_ACCEPT] => */*
[HTTP_ACCEPT_ENCODING] => gzip, br
[HTTP_CF_IPCOUNTRY] => US
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_CDN_LOOP] => cloudflare; loops=1
[HTTP_CONNECTION] => Keep-Alive
[HTTP_CF_VISITOR] => {"scheme":"https"}
[HTTP_CF_CONNECTING_IP] => 3.133.146.94
[HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => Apache/2.4.18 (Ubuntu) Server at w3resource.com Port 443
[SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
[SERVER_NAME] => w3resource.com
[SERVER_ADDR] => 198.211.115.131
[SERVER_PORT] => 443
[REMOTE_ADDR] => 68.183.26.73
[DOCUMENT_ROOT] => /var/www/html
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /var/www/html
[SERVER_ADMIN] => webmaster@localhost
[SCRIPT_FILENAME] => /var/www/html/php/function-reference/get_defined_vars-example1.php
[REMOTE_PORT] => 30560
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /php/function-reference/get_defined_vars-example1.php
[SCRIPT_NAME] => /php/function-reference/get_defined_vars-example1.php
[PHP_SELF] => /php/function-reference/get_defined_vars-example1.php
[REQUEST_TIME_FLOAT] => 1732236376.845
[REQUEST_TIME] => 1732236376
)
[_REQUEST] => Array
(
)
[_ENV] => Array
(
)
[GLOBALS] => Array
*RECURSION*
[array1] => Array
*RECURSION*
)
[array1] => Array
(
[0] => 10
[1] => 20
[2] => 30
[3] => 40
[4] => 50
)
)