File "GlobalKeywordUnitTest.inc"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.inc
File size: 173 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
$var = 'hello';
$var2 = 'hello';
$GLOBALS['var'] = 'hello';

function func1()
{
    global $var;
    global $var, $var2;
    echo $var;
    echo $GLOBALS['var'];
}
?>