On Sun, Jan 13, 2002 at 08:22:11PM +0100, Gabor Hojtsy wrote : > > > 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, > > I think it is better to check for the existense of these vars, > not the version!
But you have to be careful here. If variables get automatically populated in the global namespace you can too easily fake them (I'm not saying you do it that way, I just want to mention it so the one who writes something about this keeps that in mind). At least, I think so. -- Please always Cc to me when replying to me on the lists. -- 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]