note 104196 added to language.namespaces.rationale

From: Date: Tue, 31 May 2011 13:54:58 +0000
Subject: note 104196 added to language.namespaces.rationale
Groups: php.notes 
Request: Send a blank email to php-notes+get-180120@lists.php.net to get a copy of this message
Just a note: namespace (even nested or sub-namespace) cannot be just a number, it must start with a letter. For example, lets say you want to use namespace for versioning of your packages or versioning of your API: namespace Mynamespace\1; // Illegal Instead use this: namespace Mynamespace\v1; // OK ---- Server IP: 64.71.164.2 Probable Submitter: 24.115.82.197 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.rationale.php Edit -- https://master.php.net/note/edit/104196 Del: integrated -- https://master.php.net/note/delete/104196/integrated Del: useless -- https://master.php.net/note/delete/104196/useless Del: bad code -- https://master.php.net/note/delete/104196/bad+code Del: spam -- https://master.php.net/note/delete/104196/spam Del: non-english -- https://master.php.net/note/delete/104196/non-english Del: in docs -- https://master.php.net/note/delete/104196/in+docs Del: other reasons-- https://master.php.net/note/delete/104196 Reject -- https://master.php.net/note/reject/104196 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180120) next »