note 92146 added to language.namespaces.rationale

From: Date: Fri, 10 Jul 2009 15:44:36 +0000
Subject: note 92146 added to language.namespaces.rationale
Groups: php.notes 
Request: Send a blank email to php-notes+get-158172@lists.php.net to get a copy of this message
The backslash is a special character and seemingly hard one to access visually since we all recognize it as escaping the next character in a string. The '::' separator would seem better. A namespace could then just be one more class like entity, such as Interfaces. In this case the namespace would be the root entity of the class or class like entities. In this case, accessing a static method in a class in a namespace would appear like this. name::space::class::static_method( <args> ); Rather than name\space::class::static_method( <args> ); This is not a feature request, or maybe it is. Most likely this comment will be delete, but this *is* where people who are interested in the namespace feature will be looking and I expect there is an important topic. ---- Server IP: 208.69.120.35 Probable Submitter: 171.66.28.241 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.rationale.php Edit -- https://master.php.net/note/edit/92146 Del: integrated -- https://master.php.net/note/delete/92146/integrated Del: useless -- https://master.php.net/note/delete/92146/useless Del: bad code -- https://master.php.net/note/delete/92146/bad+code Del: spam -- https://master.php.net/note/delete/92146/spam Del: non-english -- https://master.php.net/note/delete/92146/non-english Del: in docs -- https://master.php.net/note/delete/92146/in+docs Del: other reasons-- https://master.php.net/note/delete/92146 Reject -- https://master.php.net/note/reject/92146 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158172) next »