[PHP] Super globals ?

2005-08-20 Thread Wong HoWang
Dear all, Hello, I want to know that is there any way to create a super global in PHP? Please help! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Super globals ?

2005-08-20 Thread Wong HoWang
Dear all, Hello, I want to know that is there any way to create a super global in PHP? Please help! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Super globals ?

2005-08-20 Thread Jasper Bryant-Greene
Wong HoWang wrote: Hello, I want to know that is there any way to create a super global in PHP? Only with the runkit extension. Take a look: http://www.php.net/runkit Jasper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Super globals ?

2005-08-20 Thread Kevin Waterson
This one time, at band camp, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Wong HoWang wrote: Hello, I want to know that is there any way to create a super global in PHP? Only with the runkit extension. Take a look: http://www.php.net/runkit This is exactly what $_GLOBALS is for, why

Re: [PHP] Super globals ?

2005-08-20 Thread Jasper Bryant-Greene
Kevin Waterson wrote: This one time, at band camp, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Wong HoWang wrote: Hello, I want to know that is there any way to create a super global in PHP? Only with the runkit extension. Take a look: http://www.php.net/runkit This is exactly what

Re: [PHP] Super globals ?

2005-08-20 Thread Kevin Waterson
This one time, at band camp, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Because he asked for superglobals, not globals. $GLOBALS (not $_GLOBALS) meh, force of habit happens to be an example of a superglobal. and variable can be set within its scope, so why not use it? As we see in the

Re: [PHP] Super globals ?

2005-08-20 Thread Jasper Bryant-Greene
Kevin Waterson wrote: This one time, at band camp, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Because he asked for superglobals, not globals. $GLOBALS (not $_GLOBALS) meh, force of habit happens to be an example of a superglobal. and variable can be set within its scope, so why not

Re: [PHP] Super globals ?

2005-08-20 Thread Wong HoWang
yes, I am asking how to start my own super global... And even a PHP beginner know that $GLOBALS is a array containing all the global variables and it is used in a function or a class. So I think no one will ask a question here which the answer is simply $GLOBALS. Any finally, thanks Jasper for

[PHP] Super Globals

2003-03-20 Thread Oscar F
Hello, I installed Apache/PHP in my local machine for testing purposes, but I'm trying to run a script that uses super global vars ($_SERVER['QUERY_STRING'], etc) and for some reason it does not seem to be working.. Can super globals be off like register_global on php.ini? if so what is the

Re: [PHP] Super Globals

2003-03-20 Thread Oscar F
Hello, Yep, I just upgraded to 4.3.2-RC1 and now it works fine, thanks!. #Of. Adrian Portsmouth wrote: Hi Oscar, The super globals don't exist in the version of PHP you are using, they were only introduced PHP = 4.1.0 Kind Regards Ade www.phpscriptsearch.com -- PHP General Mailing List