note 117905 added to language.namespaces.rules
| From: | StanE | Date: | Sat, 29 Aug 2015 20:45:18 +0000 |
| Subject: | note 117905 added to language.namespaces.rules | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203527@lists.php.net to get a copy of this message | ||
What the name resolution rules do not say: Namespaces are case-insensitive.
You can write: namespace myframework\errorhandling;
Or: namespace MyFramework\ErrorHandling;
Same applies to namespaces after the "use" keyword or directly used qulified name
namespaces in front of classes, functions or constants.
----
Server IP: 72.52.91.14
Probable Submitter: 78.52.103.81
----
Manual Page -- http://php.net/manual/en/language.namespaces.rules.php
Edit -- https://master.php.net/note/edit/117905
Del: integrated -- https://master.php.net/note/delete/117905/integrated
Del: useless -- https://master.php.net/note/delete/117905/useless
Del: bad code -- https://master.php.net/note/delete/117905/bad+code
Del: spam -- https://master.php.net/note/delete/117905/spam
Del: non-english -- https://master.php.net/note/delete/117905/non-english
Del: in docs -- https://master.php.net/note/delete/117905/in+docs
Del: other reasons-- https://master.php.net/note/delete/117905
Reject -- https://master.php.net/note/reject/117905
Search -- https://master.php.net/manage/user-notes.php