summaryrefslogtreecommitdiff
path: root/README.PHP4-TO-PHP5-THIN-CHANGES
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2004-01-17 19:45:25 +0000
committerAndrey Hristov <andrey@php.net>2004-01-17 19:45:25 +0000
commit1a5599242f9d86b21d4471dc1095f53f4bb5195d (patch)
treed1094ce070d5a1dae57fdc9c8379039a1793d124 /README.PHP4-TO-PHP5-THIN-CHANGES
parent9e29f17493284dee81d2842f6067b24fba9538a5 (diff)
downloadphp-git-1a5599242f9d86b21d4471dc1095f53f4bb5195d.tar.gz
adding info about $argc and $argv in CLI mode
Diffstat (limited to 'README.PHP4-TO-PHP5-THIN-CHANGES')
-rw-r--r--README.PHP4-TO-PHP5-THIN-CHANGES4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.PHP4-TO-PHP5-THIN-CHANGES b/README.PHP4-TO-PHP5-THIN-CHANGES
index 1abf929b5d..28efb579f8 100644
--- a/README.PHP4-TO-PHP5-THIN-CHANGES
+++ b/README.PHP4-TO-PHP5-THIN-CHANGES
@@ -45,3 +45,7 @@
is used, thus both // and /* */ are resolved as the T_COMMENT constant.
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.