summaryrefslogtreecommitdiff
path: root/README.PHP4-TO-PHP5-THIN-CHANGES
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2004-01-17 20:28:09 +0000
committerAndrey Hristov <andrey@php.net>2004-01-17 20:28:09 +0000
commit0fa195d29e88917a8d3ee4e132ccf91e4fe1b69e (patch)
treedcaeb03caffd73bbdd566b01489163c935adc226 /README.PHP4-TO-PHP5-THIN-CHANGES
parentc74bb5872131d2c9c1a1bffeeb289315341da2a7 (diff)
downloadphp-git-0fa195d29e88917a8d3ee4e132ccf91e4fe1b69e.tar.gz
use Rasmus' words
Diffstat (limited to 'README.PHP4-TO-PHP5-THIN-CHANGES')
-rw-r--r--README.PHP4-TO-PHP5-THIN-CHANGES9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.PHP4-TO-PHP5-THIN-CHANGES b/README.PHP4-TO-PHP5-THIN-CHANGES
index 28efb579f8..0ef64e40fe 100644
--- a/README.PHP4-TO-PHP5-THIN-CHANGES
+++ b/README.PHP4-TO-PHP5-THIN-CHANGES
@@ -46,6 +46,9 @@
However the PHPDoc style comments /** */ ,which starting PHP5 are parsed
by PHP, are recongnized as T_DOC_COMMENT.
-7. $argv and $argc are populated always in CLI mode. On the other hand
- $_SERVER['argc'] and $_SERVER['argv'] will be available if "S" is contained
- in the "variables_order" php.ini setting.
+7. $_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.