note 81563 added to language.variables.scope

From: Date: Tue, 04 Mar 2008 10:06:11 +0000
Subject: note 81563 added to language.variables.scope
Groups: php.notes 
Request: Send a blank email to php-notes+get-136723@lists.php.net to get a copy of this message
It might be worth noting in the article that you shouldn't define magic values at global level and use "global" to access them in a function - like I did in the past few years. Use define() instead. ---- Server IP: 212.124.37.9 Probable Submitter: 80.133.70.7 ---- Manual Page -- http://www.php.net/manual/en/language.variables.scope.php Edit -- https://master.php.net/note/edit/81563 Del: integrated -- https://master.php.net/note/delete/81563/integrated Del: useless -- https://master.php.net/note/delete/81563/useless Del: bad code -- https://master.php.net/note/delete/81563/bad+code Del: spam -- https://master.php.net/note/delete/81563/spam Del: non-english -- https://master.php.net/note/delete/81563/non-english Del: in docs -- https://master.php.net/note/delete/81563/in+docs Del: other reasons-- https://master.php.net/note/delete/81563 Reject -- https://master.php.net/note/reject/81563 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136723) next »