note 87784 added to language.namespaces.nsconstants

From: Date: Sun, 21 Dec 2008 13:25:48 +0000
Subject: note 87784 added to language.namespaces.nsconstants
Groups: php.notes 
Request: Send a blank email to php-notes+get-148411@lists.php.net to get a copy of this message
The following code is incorrect: use blah\blah as mine; // see "Using namespaces: importing/aliasing" blah\mine(); // calls function blah\blah\mine() The latter would be true either if: 1) The first line were "use blah\blah as blah" 2) The first line were "use blah\blah" 3) The second line were "mine\mine();", but for contrast with the line following, this is probably not intended. ---- Server IP: 221.194.139.225 Probable Submitter: 116.76.192.107 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.nsconstants.php Edit -- https://master.php.net/note/edit/87784 Del: integrated -- https://master.php.net/note/delete/87784/integrated Del: useless -- https://master.php.net/note/delete/87784/useless Del: bad code -- https://master.php.net/note/delete/87784/bad+code Del: spam -- https://master.php.net/note/delete/87784/spam Del: non-english -- https://master.php.net/note/delete/87784/non-english Del: in docs -- https://master.php.net/note/delete/87784/in+docs Del: other reasons-- https://master.php.net/note/delete/87784 Reject -- https://master.php.net/note/reject/87784 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148411) next »