torben          Mon Mar 11 21:06:01 2002 EDT

  Modified files:              
    /phpdoc/en/language variables.xml 
  Log:
  
  Added note that argv and argc are in $_SERVER, not $_REQUEST.
  
  
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.37 phpdoc/en/language/variables.xml:1.38
--- phpdoc/en/language/variables.xml:1.37       Mon Mar 11 20:54:58 2002
+++ phpdoc/en/language/variables.xml    Mon Mar 11 21:05:59 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.37 $ -->
+<!-- $Revision: 1.38 $ -->
  <chapter id="language.variables">
   <title>Variables</title>
   
@@ -205,9 +205,13 @@
      <listitem>
       <simpara>
        Variables provided to the script via any user input mechanism,
-       and which therefore cannot be trusted. The presence and order
-       of variable inclusion in this array is defined according to the
-       <link linkend="ini.variables-order">variables_order</link>
+       and which therefore cannot be trusted. Note: when running on
+       the command line, this will <emphasis>not</emphasis> include
+       the <varname>argv</varname> and <varname>argc</varname>
+       entries; these are present in the <varname>$_SERVER</varname>
+       array. The presence and order of variable inclusion in this
+       array is defined according to the <link
+       linkend="ini.variables-order">variables_order</link>
        configuration directive. This array has no direct analogue in
        versions of PHP prior to 4.1.0.
       </simpara>


Reply via email to