diff options
author | Andrey Hristov <andrey@php.net> | 2004-01-17 19:45:25 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2004-01-17 19:45:25 +0000 |
commit | 1a5599242f9d86b21d4471dc1095f53f4bb5195d (patch) | |
tree | d1094ce070d5a1dae57fdc9c8379039a1793d124 /README.PHP4-TO-PHP5-THIN-CHANGES | |
parent | 9e29f17493284dee81d2842f6067b24fba9538a5 (diff) | |
download | php-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-CHANGES | 4 |
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. |