4 ms·
"PHP doesn't support global varibles..." Since when?
by stricken 17y ago
"PHP doesn't support global varibles..."
Since when?
- Legion 17y agoNice catch. As explained at www.php.net/global, PHP most certainly does "support global variables". They are accessible by declaring them with the "global" keyword within the scope they are to be used, or by accessing them via the $GLOBALS superglobal (one that, it appears, the author neglected to include in his list of superglobals)