#25724 [Opn->Ver]: register_long_arrays breaks superglobals
| From: | sniper@php.net | Date: | Sat, 29 Nov 2003 02:20:42 +0000 |
| Subject: | #25724 [Opn->Ver]: register_long_arrays breaks superglobals | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51284@lists.php.net to get a copy of this message | ||
ID: 25724
Updated by: sniper@php.net
Reported By: kauer at face-online dot de
-Status: Open
+Status: Verified
Bug Type: Zend Engine 2 problem
Operating System: Win32
PHP Version: 5CVS-2003-10-02 (dev)
New Comment:
Reproducable with this quick'n'dirty way too:
# sapi/cli/php -d'register_long_arrays=off' -r 'var_dump($_SERVER);'
Previous Comments:
------------------------------------------------------------------------
[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