cvs: php-src / README.PHP4-TO-PHP5-THIN-CHANGES

From: Date: Sat, 17 Jan 2004 19:45:26 +0000
Subject: cvs: php-src / README.PHP4-TO-PHP5-THIN-CHANGES
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25703@lists.php.net to get a copy of this message
andrey Sat Jan 17 14:45:26 2004 EDT Modified files: /php-src README.PHP4-TO-PHP5-THIN-CHANGES Log: adding info about $argc and $argv in CLI mode Index: php-src/README.PHP4-TO-PHP5-THIN-CHANGES diff -u php-src/README.PHP4-TO-PHP5-THIN-CHANGES:1.9 php-src/README.PHP4-TO-PHP5-THIN-CHANGES:1.10 --- php-src/README.PHP4-TO-PHP5-THIN-CHANGES:1.9 Sat Jan 17 14:14:46 2004 +++ php-src/README.PHP4-TO-PHP5-THIN-CHANGES Sat Jan 17 14:45:25 2004 @@ -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.

« previous php.cvs (#25703) next »