Added note that argv and argc are in $_SERVER, not $_REQUEST.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@72825 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2002-03-12 02:05:59 +00:00
parent 0658bf8597
commit 65af33a1e5

View file

@ -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 @@ $bar = &test(); // Invalid.
<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>