torben Tue Jan 15 16:43:10 2002 EDT
Modified files:
/phpdoc/en/language variables.xml
Log:
Noted what a superglobal is and fixed the version numbers.
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.29 phpdoc/en/language/variables.xml:1.30
--- phpdoc/en/language/variables.xml:1.29 Tue Jan 15 15:57:28 2002
+++ phpdoc/en/language/variables.xml Tue Jan 15 16:43:10 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.29 $ -->
+<!-- $Revision: 1.30 $ -->
<chapter id="language.variables">
<title>Variables</title>
@@ -456,9 +456,16 @@
<note>
<para>
- The new "Superglobals" were added in PHP version 4.1.0.
- See the <ulink url="&url.php.release4.1.0;">4.1.0 Release
- Announcement</ulink> for more details.
+ The new "Superglobals" were added in PHP version 4.1.0. See the
+ <ulink url="&url.php.release4.1.0;">4.1.0 Release
+ 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>
+ arrays, and they are informally known as
+ <emphasis>Superglobals</emphasis> since they are always
+ available without regard to scope. These deprecate the older
+ respective <varname>$HTTP_*_VARS</varname> arrays.
</para>
</note>
@@ -523,7 +530,7 @@
<simpara>
An associative array of variables passed to the current
script via HTTP cookies. Automatically global in any
- scope. Introduced in PHP 4.1.
+ scope. Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>
@@ -544,7 +551,7 @@
<simpara>
An associative array of variables passed to the current
script via the HTTP GET method. Automatically global in
- any scope. Introduced in PHP 4.1.
+ any scope. Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>
@@ -565,7 +572,7 @@
<simpara>
An associative array of variables passed to the current
script via the HTTP POST method. Automatically global in
- any scope. Introduced in PHP 4.1.
+ any scope. Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>
@@ -603,7 +610,7 @@
<simpara>
An associative array of variables passed to the current
script via the parent environment. Automagically global
- in any scope. Introduced in PHP 4.1.
+ in any scope. Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>
@@ -626,7 +633,7 @@
An associative array of variables passed to the current
script from the HTTP server. These variables are analogous to
the Apache variables described above. Automatically global
- in any scope. Introduced in PHP 4.1.
+ in any scope. Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>
@@ -662,7 +669,7 @@
An associative array merged from the GET, POST, and Cookie variables.
In other words - all the information that is coming from the user,
and that from a security point of view, cannot be trusted.
- Automatically global in any scope. Introduced in PHP 4.1.
+ Automatically global in any scope. Introduced in PHP 4.1.0.
</simpara>
</listitem>
</varlistentry>