From: Jeff D. <da...@da...> - 2002-09-03 22:08:28
|
> If this breakage is an issue > we can if PHP version is < 4.1.0 set $_SERVER = $HTTP_SERVER_VARS, > $_COOKIE = $HTTP_COOKIE_VARS, etc. That's not quite the same. $_SERVER is always global, whereas $HTTP_SERVER_VARS is not. (I.e. within a function you have to declare $HTTP_SERVER_VARS global before using it.) > Or is the consensus to wait to convert until it is necesary? That (waiting) would get my vote. It seems to me to be a weak reason to break backward compatibility (and change existing working code). I personally doubt that $HTTP_SERVER_VARS is going away any time soon, and if it does, it can be brought back with $HTTP_SERVER_VARS = &$_SERVER. |