Re: _REQUEST and variable_order

From: Date: Wed, 13 Feb 2008 21:19:19 +0000
Subject: Re: _REQUEST and variable_order
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-35458@lists.php.net to get a copy of this message
Yes... I didn't seem to see a default:
+       STD_PHP_INI_ENTRY("request_order",                      NULL,           PHP_INI_SYSTEM|PHP_INI_PERDIR,OnUpdateString, request_order,          php_core_globals,       core_globals)
Which means that without this setting, nothing ends up in request. The
NULL means variable_order is used.
php.ini-dist - it should mention the default (still commented out, just like the rest) as "GPC" too.
Setting this as GPC gives wrong idea - recommended setting is GP, as C is useful only in very rare situations for special applications. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#35458) next »