note 29275 added to reserved.variables

From: Date: Fri, 07 Feb 2003 23:56:16 +0000
Subject: note 29275 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-43589@lists.php.net to get a copy of this message
To get a quick list of the pre-defined global variables try this: foreach ($GLOBALS as $var){ foreach ($var as $element => $value){ echo "$element : $value "; } } This should give you a nice list of the varibale names, and there current value. Makes it nice when trying to figure out what's usefull to you. -Keith -- http://www.php.net/manual/en/reserved.variables.php http://master.php.net/manage/user-notes.php?action=edit+29275 http://master.php.net/manage/user-notes.php?action=delete+29275 http://master.php.net/manage/user-notes.php?action=reject+29275

« previous php.notes (#43589) next »