]> granicus.if.org Git - php/commitdiff
adding info about $argc and $argv in CLI mode
authorAndrey Hristov <andrey@php.net>
Sat, 17 Jan 2004 19:45:25 +0000 (19:45 +0000)
committerAndrey Hristov <andrey@php.net>
Sat, 17 Jan 2004 19:45:25 +0000 (19:45 +0000)
README.PHP4-TO-PHP5-THIN-CHANGES

index 1abf929b5dbcc4680466860b743d27f74c851e1b..28efb579f8cc632041e8447a1cb29c5666075fb7 100644 (file)
@@ -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.