note 106777 added to language.namespaces.basics
| From: | LukasZ at osu1 dot php dot net | Date: | Mon, 05 Dec 2011 23:25:26 +0000 |
| Subject: | note 106777 added to language.namespaces.basics | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184923@lists.php.net to get a copy of this message | ||
Well variables inside namespaces do not override others since variables are never affected by
namespace but always global:
"Although any valid PHP code can be contained within a namespace, only four types of code are
affected by namespaces: classes, interfaces, functions and constants. "
Source: "Defining Namespaces"
http://www.php.net/manual/en/language.namespaces.definition.php
----
Server IP: 85.214.154.209
Probable Submitter: 93.200.43.51
----
Manual Page -- http://www.php.net/manual/en/language.namespaces.basics.php
Edit -- https://master.php.net/note/edit/106777
Del: integrated -- https://master.php.net/note/delete/106777/integrated
Del: useless -- https://master.php.net/note/delete/106777/useless
Del: bad code -- https://master.php.net/note/delete/106777/bad+code
Del: spam -- https://master.php.net/note/delete/106777/spam
Del: non-english -- https://master.php.net/note/delete/106777/non-english
Del: in docs -- https://master.php.net/note/delete/106777/in+docs
Del: other reasons-- https://master.php.net/note/delete/106777
Reject -- https://master.php.net/note/reject/106777
Search -- https://master.php.net/manage/user-notes.php