torben Tue Jan 15 15:57:29 2002 EDT
Modified files:
/phpdoc/en/language variables.xml
Log:
Added version notes to the superglobals.
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.28 phpdoc/en/language/variables.xml:1.29
--- phpdoc/en/language/variables.xml:1.28 Sat Jan 12 18:24:55 2002
+++ phpdoc/en/language/variables.xml Tue Jan 15 15:57:28 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.28 $ -->
+<!-- $Revision: 1.29 $ -->
<chapter id="language.variables">
<title>Variables</title>
@@ -522,7 +522,8 @@
<listitem>
<simpara>
An associative array of variables passed to the current
- script via HTTP cookies. Automatically global in any scope.
+ script via HTTP cookies. Automatically global in any
+ scope. Introduced in PHP 4.1.
</simpara>
</listitem>
</varlistentry>
@@ -543,7 +544,7 @@
<simpara>
An associative array of variables passed to the current
script via the HTTP GET method. Automatically global in
- any scope.
+ any scope. Introduced in PHP 4.1.
</simpara>
</listitem>
</varlistentry>
@@ -564,7 +565,7 @@
<simpara>
An associative array of variables passed to the current
script via the HTTP POST method. Automatically global in
- any scope.
+ any scope. Introduced in PHP 4.1.
</simpara>
</listitem>
</varlistentry>
@@ -602,7 +603,7 @@
<simpara>
An associative array of variables passed to the current
script via the parent environment. Automagically global
- in any scope.
+ in any scope. Introduced in PHP 4.1.
</simpara>
</listitem>
</varlistentry>
@@ -625,7 +626,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.
+ in any scope. Introduced in PHP 4.1.
</simpara>
</listitem>
</varlistentry>
@@ -644,10 +645,12 @@
<term>$_SESSION</term>
<listitem>
<simpara>
- An associative array of session variables passed to the current
- script. Automatically global in any scope. Creating new entries
- in the $_SESSION array will automatically register them as session
- variables, as if you called <function>session_register</function>.
+ An associative array of session variables passed to the
+ current script. Automatically global in any scope. Creating
+ new entries in the $_SESSION array will automatically
+ register them as session variables, as if you called
+ <function>session_register</function>. Introduced in PHP
+ 4.1.
</simpara>
</listitem>
</varlistentry>
@@ -659,7 +662,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.
+ Automatically global in any scope. Introduced in PHP 4.1.
</simpara>
</listitem>
</varlistentry>