[PHP-DOC] Re: [PHP-DEV] superglobals and bc From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/13/02

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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>