From a7e36fccbd0dc40bc676527273aa236a746cacdf Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Sat, 19 Jan 2002 23:04:13 +0000 Subject: [PATCH] added $_FILES and $_SESSION to list of Superglobals. scope additon for $_files git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68144 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/variables.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/language/variables.xml b/language/variables.xml index 461e8dbafa..fa5e00b3ec 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -1,5 +1,5 @@ - + Variables @@ -461,7 +461,8 @@ $bar = &test(); // Invalid. Announcement for more details. These are the $_GET, $_POST, $_ENV, $_SERVER, - $_COOKIE, and $_REQUEST + $_COOKIE, $_REQUEST + $_FILES, and $_SESSION arrays, and they are informally known as Superglobals since they are always available without regard to scope. These deprecate the older @@ -598,7 +599,8 @@ $bar = &test(); // Invalid. about files uploaded via the HTTP POST method. See POST method uploads for information on the contents of - $_FILES. Introduced in PHP 4.1.0. + $_FILES. Automatically global in any scope. + Introduced in PHP 4.1.0.