Re: superglobals and bc
| From: | Rasmus Lerdorf | Date: | Sun, 13 Jan 2002 17:19:38 +0000 |
| Subject: | Re: superglobals and bc | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-76874@lists.php.net to get a copy of this message | ||
The only real thing I think you can document on this is that you can't use
superglobals and expect your scripts to work on older versions of PHP.
I mean, you could check php_version() and stick in some extract() calls
for older versions wherever you use the superglobals, but that seems
rather ugly.
-Rasmus
On Sun, 13 Jan 2002, Philip Olson wrote:
>
> Many ask "How do I use superglobals yet allow my scripts to work on older
> versions of PHP", is there an official documentable response to this?
>
> Regards,
> Philip Olson
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>