In code that runs at the global level -- meaning not within the scope of any function -- is there any substantive difference between doing this:
$var = "foo";
and doing this?
$GLOBALS["var"] = "foo";
?
No.
Thanks.