Req #55458 [Opn->Wfx]: variables_order should contain E by default
| From: | leigh@php.net | Date: | Sat, 10 Jan 2015 13:27:22 +0000 |
| Subject: | Req #55458 [Opn->Wfx]: variables_order should contain E by default | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189860@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55458&edit=1
ID: 55458
Updated by: leigh@php.net
Reported by: cweiske@php.net
Summary: variables_order should contain E by default
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: *Configuration Issues
PHP Version: 5.3.7
Block user comment: N
Private report: N
New Comment:
Lets close it off then :)
Previous Comments:
------------------------------------------------------------------------
[2015-01-10 13:18:29] cweiske@php.net
No, I won't fight for bug from four years ago anymore.
------------------------------------------------------------------------
[2015-01-10 00:54:00] danack@php.net
The change was apparently done because of an approved RFC. Changing to use E again would require
considering the security considerations and a new RFC.
Can you open a discussion on the internals list if you think this is still an issue to be discussed?
------------------------------------------------------------------------
[2011-08-19 09:40:29] cweiske@php.net
Description:
------------
The default php.ini-production[1] sets variables_order to "GPCS", which misses the
"E" for environment variables.
This change was introduced in revision 277363 on Tue Mar 17 19:19:17 2009 by johannes:
> MFH: Replace old php.ini files with the new ones according to
> http://wiki.php.net/rfc/newinis (by Eric Lee Stewart)
The wiki page writes:
> There is a performance penalty paid for the registration of
> these arrays and because ENV is not as commonly used as the
> others, ENV is is not recommended on productions servers.
Since superglobals are only registered when they are used by the code (JIT), there should not really
be a performance penalty, and E should be included in the default production setting.
[1] http://svn.php.net/viewvc/php/php-src/trunk/php.ini-production
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55458&edit=1