note 89832 rejected from language.namespaces.nsconstants by thiago
| From: | thiago@php.net | Date: | Wed, 25 Mar 2009 11:53:40 +0000 |
| Subject: | note 89832 rejected from language.namespaces.nsconstants by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152417@lists.php.net to get a copy of this message | ||
Note Submitter: mightye at gmail dot com
----
In Example #4, wouldn't this:
blah\mine(); // calls function blah\blah\mine()
actually call MyProject\blah\mine()? To call blah\blah\mine() you'd use mine\mine() (where the
first mine is the imported blah\blah namespace aliased as 'mine')