note 108735 added to language.namespaces.global
| From: | xmarcos at gmail dot com | Date: | Mon, 21 May 2012 19:08:52 +0000 |
| Subject: | note 108735 added to language.namespaces.global | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188120@lists.php.net to get a copy of this message | ||
That's the expected behavior, you have to declare the namespace at the top of the file to
"extend" it.
If you include a global namespaced file, it will operate on the global namespace.
----
Server IP: 69.147.83.197
Probable Submitter: 181.28.195.28
----
Manual Page -- http://www.php.net/manual/en/language.namespaces.global.php
Edit -- https://master.php.net/note/edit/108735
Del: integrated -- https://master.php.net/note/delete/108735/integrated
Del: useless -- https://master.php.net/note/delete/108735/useless
Del: bad code -- https://master.php.net/note/delete/108735/bad+code
Del: spam -- https://master.php.net/note/delete/108735/spam
Del: non-english -- https://master.php.net/note/delete/108735/non-english
Del: in docs -- https://master.php.net/note/delete/108735/in+docs
Del: other reasons-- https://master.php.net/note/delete/108735
Reject -- https://master.php.net/note/reject/108735
Search -- https://master.php.net/manage/user-notes.php