note 104666 added to reserved.variables.globals

From: Date: Wed, 29 Jun 2011 13:32:33 +0000
Subject: note 104666 added to reserved.variables.globals
Groups: php.notes 
Request: Send a blank email to php-notes+get-181038@lists.php.net to get a copy of this message
As of PHP 5.4 $GLOBALS is now initialized just-in-time. This means there now is an advantage to not use the $GLOBALS variable as you can avoid the overhead of initializing it. How much of an advantage that is I'm not sure, but I've never liked $GLOBALS much anyways. ---- Server IP: 69.147.83.197 Probable Submitter: 71.167.45.41 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.globals.php Edit -- https://master.php.net/note/edit/104666 Del: integrated -- https://master.php.net/note/delete/104666/integrated Del: useless -- https://master.php.net/note/delete/104666/useless Del: bad code -- https://master.php.net/note/delete/104666/bad+code Del: spam -- https://master.php.net/note/delete/104666/spam Del: non-english -- https://master.php.net/note/delete/104666/non-english Del: in docs -- https://master.php.net/note/delete/104666/in+docs Del: other reasons-- https://master.php.net/note/delete/104666 Reject -- https://master.php.net/note/reject/104666 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181038) next »