Re: cvs: php-src /main main.ct
| From: | Jani Taskinen | Date: | Sat, 06 Aug 2005 23:54:38 +0000 |
| Subject: | Re: cvs: php-src /main main.ct | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-33202@lists.php.net to get a copy of this message | ||
On Sat, 6 Aug 2005, Rasmus Lerdorf wrote:
Jani Taskinen wrote:On Sat, 6 Aug 2005, Rasmus Lerdorf wrote:Sure, but calling ini_set() on it will reset PG(variables_order) to the new value. The question is whether we want the jit stuff to respectJani Taskinen wrote:Are you sure?sniper Fri Aug 5 17:44:27 2005 EDTModified files:/php-src/main main.cLog: - This ini option is only effective when set in php.ini or httpd.confor .htacces, etc. as GPC variables are set before any ini_set()is calledSure about what? That this option has no effect when set withini_set()?Yes, I'm sure. PG(variables_order) is set before any ini_set()'s arecalled.
And PG(variables_order) is reset to whatever you have in php.ini
or to the default value in the next request start.
You can't control it with ini_set(). And whatever it is set to during
script compile/execute makes absolutely no difference. I only has an
effect during request startup.
--Jani