It doesn't though, it creates a copy of the $_GLOBALS super global array,
removes entries that will have been set by the system (i.e. it leaves
user-defined variables) and then returns the ones that are left, so in that,
the user note is perfectly correct.

What has me puzzled is how unsetting LEAVES user defined variables ? Why
would that happen ?

The array in the function lists the common server-defined variables
> (HTTP_VARS, etc), which it unsets from the local copy of the super global
> array ($globals). Basically, it loops through the un-named array, and unsets
> that index from $globals.
>

Thank you,
Ashim

Reply via email to