Browse files

adding info about $argc and $argv in CLI mode

  • Loading branch information...
1 parent 9e29f17 commit 1a5599242f9d86b21d4471dc1095f53f4bb5195d Andrey Hristov committed Jan 17, 2004
Showing with 4 additions and 0 deletions.
@@ -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.

0 comments on commit 1a55992

Please sign in to comment.