From 0551ef414a7eb16b623cf79e8fb65e66d2c320c2 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Mon, 26 Jul 2004 17:52:31 +0000 Subject: [PATCH] Mention that no directives affect $argc/$argv in CLI, not even register_argc_argv See also features.commandline git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164360 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration5.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/appendices/migration5.xml b/appendices/migration5.xml index d07e1d9473..01b4640966 100755 --- a/appendices/migration5.xml +++ b/appendices/migration5.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 4 to PHP 5 @@ -193,8 +193,15 @@ class b implements c { box" appears on the screen). This behavior is similar to php-gtk. - In PHP 5, the CLI version will always populate the global $argv and $argc - variables. + In PHP 5, the CLI version will always populate the global + $argv and $argc variables regardless + of any &php.ini; directive setting. Even having + register_argc_argv set to + off will have no affect in CLI. + + + See also the commandline + reference.