The PHP_Compat code is faulty too -- the S in variables_order etc. refers to _SERVER, not to _SESSION.

Jasper

Arpad Ray wrote:
"Stefan Esser" <[EMAIL PROTECTED]> wrote:

sesser          Wed Mar 22 08:21:01 2006 UTC

Modified files: /php-src README.UPDATING_TO_PHP6 Log:
  Fix the bullshit register_globals emulation
1) S is not _SESSION but _SERVER
  2) EXTR_OVERWRITE is evil

PHP_Compat now supports this type of environmental change, the relevant file
being:
http://cvs.php.net/viewcvs.cgi/pear/PHP_Compat/Compat/Environment/register_globals_on.php?view=markup&rev=1.3
Maybe this readme should point to it?

Arpad


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to