php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34011 variables_order not PHP_INI_ALL
Submitted: 2005-08-05 17:33 UTC Modified: 2005-08-06 11:52 UTC
From: nlopess@php.net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5CVS-2005-08-05 (dev) OS: all
Private report: No CVE-ID: None
 [2005-08-05 17:33 UTC] 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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-05 23:44 UTC] 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 23:45 UTC] 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-06 11:52 UTC] nlopess@php.net
But as 'auto_globals_jit' was on, I though the ini_set() could work if it was issued before any super-global usage.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 11:01:32 2024 UTC