note 114476 added to language.namespaces.definition
| From: | Roadowl | Date: | Mon, 24 Feb 2014 23:42:02 +0000 |
| Subject: | note 114476 added to language.namespaces.definition | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198702@lists.php.net to get a copy of this message | ||
quote:
Defining namespaces
(...)
Namespaces are declared using the namespace keyword. A file containing a namespace must declare the
namespace at the top of the file before any other code - with one exception: the declare keyword.
end quote.
So we have a title that talks 'defining' and a piece of text that talks
'declare' three times, one of which could be referring to some other 'declare'
than the former two.
Please, documentation authors -- get your act together, finally.
----
Server IP: 91.199.167.223
Probable Submitter: 82.95.236.142
----
Manual Page -- http://php.net/manual/en/language.namespaces.definition.php
Edit -- https://master.php.net/note/edit/114476
Del: integrated -- https://master.php.net/note/delete/114476/integrated
Del: useless -- https://master.php.net/note/delete/114476/useless
Del: bad code -- https://master.php.net/note/delete/114476/bad+code
Del: spam -- https://master.php.net/note/delete/114476/spam
Del: non-english -- https://master.php.net/note/delete/114476/non-english
Del: in docs -- https://master.php.net/note/delete/114476/in+docs
Del: other reasons-- https://master.php.net/note/delete/114476
Reject -- https://master.php.net/note/reject/114476
Search -- https://master.php.net/manage/user-notes.php