Indeed, this was very helpful.

Perhaps the best path is to add Rasmus's words to THIN-CHANGES:

$_SERVER should be populated with argc and argv if variables_order
includes "S".  If you have specifically configured your system to not
create $_SERVER, then of course it shouldn't be there.  The change was to
always make argc and argv available in the CLI version regardless of the
variables_order setting.  As in, the CLI version will now always populate
the global $argc and $argv variables.

Greg

Andrey Hristov wrote:

Hi,
Stefan Walk wrote:

This has been discussed on internals before.
See http://www.zend.com/lists/php-dev/200310/msg00026.html and
follow-ups.

Thanks for pointing out this discussion.

Andrey

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to