Test de la variable : $GLOBALS

Référence des tableaux superglobaux
Array
(
    [_GET] => Array
        (
            [var] => GLOBALS
        )

    [_POST] => Array
        (
        )

    [_COOKIE] => Array
        (
        )

    [_FILES] => Array
        (
        )

    [GLOBALS] => Array
 *RECURSION*
    [_SERVER] => Array
        (
            [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
            [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
            [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
            [HTTP_IF_MODIFIED_SINCE] => Mon, 22 Apr 2019 10:11:31 UTC
            [HTTP_HOST] => test.progysm.com
            [HTTP_CONNECTION] => Keep-Alive
            [HTTP_ACCEPT_ENCODING] => gzip
            [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
            [SERVER_SIGNATURE] => <address>Apache/2.4.25 (Debian) Server at test.progysm.com Port 80</address>

            [SERVER_SOFTWARE] => Apache/2.4.25 (Debian)
            [SERVER_NAME] => test.progysm.com
            [SERVER_ADDR] => 192.168.1.20
            [SERVER_PORT] => 80
            [REMOTE_ADDR] => 3.90.204.40
            [DOCUMENT_ROOT] => /var/www/vhost/test.progysm.com
            [REQUEST_SCHEME] => http
            [CONTEXT_PREFIX] => 
            [CONTEXT_DOCUMENT_ROOT] => /var/www/vhost/test.progysm.com
            [SERVER_ADMIN] => [no address given]
            [SCRIPT_FILENAME] => /var/www/vhost/test.progysm.com/php/testvar.php
            [REMOTE_PORT] => 45558
            [GATEWAY_INTERFACE] => CGI/1.1
            [SERVER_PROTOCOL] => HTTP/1.1
            [REQUEST_METHOD] => GET
            [QUERY_STRING] => var=GLOBALS
            [REQUEST_URI] => /php/testvar.php?var=GLOBALS
            [SCRIPT_NAME] => /php/testvar.php
            [PHP_SELF] => /php/testvar.php
            [REQUEST_TIME_FLOAT] => 1561630349.081
            [REQUEST_TIME] => 1561630349
        )

    [a] => variable a
    [b] => 1
    [c] => 1.1
)
Fonction getcwd(): /var/www/vhost/test.progysm.com/php
Fonction gethostbyaddr($_SERVER['REMOTE_ADDR']): ec2-3-90-204-40.compute-1.amazonaws.com