mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added version notes to the superglobals.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67857 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
86c395700f
commit
361e08ee8e
1 changed files with 14 additions and 11 deletions
|
@ -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 @@ $bar = &test(); // Invalid.
|
|||
<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 @@ $bar = &test(); // Invalid.
|
|||
<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 @@ $bar = &test(); // Invalid.
|
|||
<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 @@ $bar = &test(); // Invalid.
|
|||
<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 @@ $bar = &test(); // Invalid.
|
|||
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 @@ $bar = &test(); // Invalid.
|
|||
<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 @@ $bar = &test(); // Invalid.
|
|||
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>
|
||||
|
|
Loading…
Reference in a new issue