On Mar 12, 2012, at 12:04 PM, Daniel Brown wrote:
> On Sun, Mar 11, 2012 at 14:16, Tedd Sperling <tedd.sperl...@gmail.com> 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?




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

Reply via email to