#25724 [NEW]: register_long_arrays breaks superglobals
| From: | kauer at face-online dot de | Date: | Thu, 02 Oct 2003 08:55:56 +0000 |
| Subject: | #25724 [NEW]: register_long_arrays breaks superglobals | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-48414@lists.php.net to get a copy of this message | ||
From: kauer at face-online dot de
Operating system: Win32
PHP version: 5CVS-2003-10-02 (dev)
PHP Bug Type: PHP options/info functions
Bug description: register_long_arrays breaks superglobals
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 bug report at http://bugs.php.net/?id=25724&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25724&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25724&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25724&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25724&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25724&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25724&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25724&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25724&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25724&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25724&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25724&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25724&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25724&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25724&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25724&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25724&r=float