note 26969 deleted from features.commandline by irchtml
| From: | irchtml@php.net | Date: | Thu, 05 Feb 2004 06:37:45 +0000 |
| Subject: | note 26969 deleted from features.commandline by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64664@lists.php.net to get a copy of this message | ||
Note Submitter: mbostrom@paragee.com
----
[Ed note: The manual says nothing about $argv/$argc. In a SAPI other than CLI, $argv/$argc
variables existing depends on the register_globals directive.]
The PHP manual states that register_argc_argv causes the _global_ variables $argc and $argv to be
registered.
However, with PHP 4.2.2, setting register_argc_argv causes $_SERVER["argc"] and
$_SERVER["argv"] to be set. The globals $argc and $argv ARE NOT SET.