ID:               25724
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kauer at face-online dot de
 Status:           Verified
 Bug Type:         Zend Engine 2 problem
 Operating System: *
 PHP Version:      5CVS-2004-01-03
 New Comment:

And both register_globals and register_long_arrays have to be off to
reproduce this!



Previous Comments:
------------------------------------------------------------------------

[2004-01-21 02:03:44] [EMAIL PROTECTED]

Only these superglobals are broken:

$_SERVER
$_ENV
$_REQUEST

All other work fine..



------------------------------------------------------------------------

[2003-11-28 21:20:42] [EMAIL PROTECTED]

Reproducable with this quick'n'dirty way too:

# sapi/cli/php -d'register_long_arrays=off' -r 'var_dump($_SERVER);'



------------------------------------------------------------------------

[2003-10-02 04:55:56] kauer at face-online dot de

Description:
------------
Using the binary from snaps.php.net, turning register_long_arrays off
in .htaccess will make $_SERVER unavailable.

Reproduce code:
---------------
File: .htaccess
php_flag register_long_arrays off

PHP:
var_dump($_SERVER);

Expected result:
----------------
I expect to see a variable dump of $_SERVER.

Actual result:
--------------
var_dump outputs NULL


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25724&edit=1

Reply via email to