Re: questions about $_SERVER
| From: | tamouse mailing lists | Date: | Mon, 19 Mar 2012 08:52:33 +0000 |
| Subject: | Re: questions about $_SERVER | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317126@lists.php.net to get a copy of this message | ||
On Sat, Mar 10, 2012 at 7:43 PM, Tedd Sperling <tedd.sperling@gmail.com> wrote:
> On Mar 10, 2012, at 3:53 PM, tamouse mailing lists wrote:
>> On Sat, Mar 10, 2012 at 9:37 AM, Tedd Sperling <tedd.sperling@gmail.com> wrote:
>>> That's correct, but to access those variables outside of their scope (such as a
>>> function) you do via a SuperGlobal, namely $GLOBAL['whatever'].
>>>
>>> As such, there are no "globals" in PHP other than SuperGlobals. As I said, if
>>> I'm wrong, please show me otherwise.
>>
>> I guess I don't know what you mean by "globals". I know what globals
>> are, but not "globals".
>
> I don't understand your question. I know what questions are, but not your question. :-)
Well, I've been pondering this for a while, and now I'm sure.
-> kill file