Re: questions about $_SERVER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 12, 2012, at 12:04 PM, Daniel Brown wrote:
> On Sun, Mar 11, 2012 at 14:16, Tedd Sperling <tedd.sperling@xxxxxxxxx> wrote:
>> This document clearly states that $GLOBALS is a SuperGlobal -- what am I not understanding here?
> 
>    You are understanding it correctly, the only thing that's missing
> is the population.  The variables are defined (set), but not all are
> populated.  $GLOBALS is a superglobal, you're right; globals set from
> userland scripts are not superglobals, but do wind up in the $GLOBALS
> array.  Thus, all superglobals are globals, but not all globals are
> superglobals.

So, it's a question of population timing -- I see.

Additionally, I like the term "userland" -- I will use it in class. :-)

What would be the opposite term, serverland?

Thanks,

tedd

_____________________
tedd.sperling@xxxxxxxxx
http://sperling.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux