string(3) "Foo"
string(3) "Foo"

Notice: Undefined variable: foo in /home/iconoun/public_html/demo/globals.php on line 15
NULL string(3) "Foo" From $GLOBALS:
Notice: Undefined index: myvar in /home/iconoun/public_html/demo/globals.php on line 31
NULL Original: From main code From Function From $GLOBALS: string(13) "From Function"
Notice: Undefined variable: myvar in /home/iconoun/public_html/demo/globals.php on line 45
Inside newtest(): From $GLOBALS: string(13) "From Function" 2021-10-18T17:21:49-07:00 2021-10-19T00:21:49+00:00