Re: README.PHP4-TO-PHP5-THIN-CHANGES
| From: | Greg Beaver | Date: | Sat, 17 Jan 2004 20:08:32 +0000 |
| Subject: | Re: README.PHP4-TO-PHP5-THIN-CHANGES | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7161@lists.php.net to get a copy of this message | ||
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