Bug #18060 Updated: request for user defined superglobals

From: Date: Sat, 29 Jun 2002 14:08:25 +0000
Subject: Bug #18060 Updated: request for user defined superglobals
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12519@lists.php.net to get a copy of this message
ID: 18060 Updated by: rasmus@php.net Reported By: cstdenis@hotmail.com -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: any PHP Version: 4.2.1 New Comment: Won't happen. You can already set variables that are accessible everywhere by specifying you want to access a global variable via "global $user" or $GLOBALS['user']. The whole point is to prevent nasty global variable side-effects that other languages are prone to. Previous Comments: ------------------------------------------------------------------------ [2002-06-29 06:32:52] cstdenis@hotmail.com I am requesting a feature of user defined 'superglobal' varables. This would be handy for a varable that is set in the header containing somthing like username or access level that is used throughout a script. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18060&edit=1

« previous php.bugs (#12519) next »