philip          Mon Jul 26 13:52:33 2004 EDT

  Modified files:              
    /phpdoc/en/appendices       migration5.xml 
  Log:
  Mention that no directives affect $argc/$argv in CLI, not even register_argc_argv
  See also features.commandline
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/migration5.xml?r1=1.26&r2=1.27&ty=u
Index: phpdoc/en/appendices/migration5.xml
diff -u phpdoc/en/appendices/migration5.xml:1.26 
phpdoc/en/appendices/migration5.xml:1.27
--- phpdoc/en/appendices/migration5.xml:1.26    Mon Jul 26 07:47:30 2004
+++ phpdoc/en/appendices/migration5.xml Mon Jul 26 13:52:31 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.26 $ -->
+<!-- $Revision: 1.27 $ -->
  <appendix id="migration5">
   <title>Migrating from PHP 4 to PHP 5</title>
 
@@ -193,8 +193,15 @@
     box" appears on the screen). This behavior is similar to php-gtk.
    </para>
    <para>
-    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 
+    <varname>$argv</varname> and <varname>$argc</varname> variables regardless
+    of any &php.ini; directive setting.  Even having  
+    <link linkend="ini.register-argc-argv">register_argc_argv</link> set to
+    <literal>off</literal> will have no affect in CLI.
+   </para>
+   <para>
+    See also the <link linkend="features.commandline">commandline 
+    reference</link>.
    </para>
   </section>
 

Reply via email to