> 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.

true.  We can refer to a faq, one with a hack or two.

> 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.

Some really want it, let's define the most efficient/least ugly types of
hacks :)  For example with get, checking phpversion, then appropriatly
defining $_GET = &$HTTP_GET_VARS. And in a function, do: global $_GET. Now
mimicking $_SESSION functionality is another story, eww, maybe that's
going too far.

Regarding the extract() idea, please clarify a little more.

Regards,
Philip Olson




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to