betz Sat Jan 19 18:04:13 2002 EDT
Modified files:
/phpdoc/en/language variables.xml
Log:
added $_FILES and $_SESSION to list of Superglobals. scope additon for $_files
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.31 phpdoc/en/language/variables.xml:1.32
--- phpdoc/en/language/variables.xml:1.31 Fri Jan 18 16:50:44 2002
+++ phpdoc/en/language/variables.xml Sat Jan 19 18:04:13 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.31 $ -->
+<!-- $Revision: 1.32 $ -->
<chapter id="language.variables">
<title>Variables</title>
@@ -461,7 +461,8 @@
Announcement</ulink> for more details. These are the
<varname>$_GET</varname>, <varname>$_POST</varname>,
<varname>$_ENV</varname>, <varname>$_SERVER</varname>,
- <varname>$_COOKIE</varname>, and <varname>$_REQUEST</varname>
+ <varname>$_COOKIE</varname>, <varname>$_REQUEST</varname>
+ <varname>$_FILES</varname>, and <varname>$_SESSION</varname>
arrays, and they are informally known as
<emphasis>Superglobals</emphasis> since they are always
available without regard to scope. These deprecate the older
@@ -598,7 +599,8 @@
about files uploaded via the HTTP POST method. See <link
linkend="features.file-upload.post-method">POST method
uploads</link> for information on the contents of
- <varname>$_FILES</varname>. Introduced in PHP 4.1.0.
+ <varname>$_FILES</varname>. Automatically global in any scope.
+ Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>