note 34444 added to language.variables.predefined

From: Date: Sun, 27 Jul 2003 21:58:30 +0000
Subject: note 34444 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-52806@lists.php.net to get a copy of this message
In a function, define a superglobal as a global. ie. function myFunc(){ global $_SESSION } What $_SESSION represents seems to very on the machine and release. Who, would do that? I did, just to make my code more consistent. Result is hours of unexplainable results. hth ---- Manual Page -- http://www.php.net/manual/en/language.variables.predefined.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34444 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34444&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34444&report=yes

« previous php.notes (#52806) next »