#34011 [Csd]: variables_order not PHP_INI_ALL
| From: | nlopess@php.net | Date: | Sat, 06 Aug 2005 09:52:16 +0000 |
| Subject: | #34011 [Csd]: variables_order not PHP_INI_ALL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83084@lists.php.net to get a copy of this message | ||
ID: 34011
Updated by: nlopess@php.net
Reported By: nlopess@php.net
Status: Closed
Bug Type: *Configuration Issues
Operating System: all
PHP Version: 5CVS-2005-08-05 (dev)
New Comment:
But as 'auto_globals_jit' was on, I though the ini_set() could work if
it was issued before any super-global usage.
Previous Comments:
------------------------------------------------------------------------
[2005-08-05 23:45:35] sniper@php.net
BTW. It doesn't really make any difference what the level of this
option (or any other similar option) has because these options are
checked before the script is run.
------------------------------------------------------------------------
[2005-08-05 23:44:36] sniper@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2005-08-05 17:33:49] nlopess@php.net
Description:
------------
I'm not sure if this is a php bug or just a documentation bug.
in http://lxr.php.net/source/php-src/main/main.c#305
variables_order is
specified as beeing PHP_INI_ALL, so the manual also says that.
But I've tested php 5.0.4 in cgi mode and php 5.1 as apache2 module an
noone of them respect my ini_set() order, even if I type it in first
line of the script (JIT is on).
So, should the refering line be changed to INI_SYSTEM & documented the
problem properly, or is it a real bug?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34011&edit=1