Links to know aboutMusic The Chiara String Quartet Chiara Quartet (MySpace) Greenwood Music Camp UNL School of Music PHP PEAR Installer Manifesto phpDocumentor PEAR phar docblock PHP_Parser PHP_Parser_DocblockParser PHP_ParserGenerator PHP_LexerGenerator PEAR_PackageFileManager PHP_Archive Games_Chess Blogs Joshua Eichorn Paul M. Jones Davey Shafik Popular EntriesSetting up your own PEAR channel with Chiara_PEAR_Server - the official way
(30) Do you develop a website? It is infinitely better to synchronize live and development sites using the PEAR Installer(25) doing the PEAR thing(19) Using PEAR 1.4.0 to install PEAR packages on a remote host(19) phpDocumentor and __get/__set/__call - give us your ideas (RFC)(17) CategoriesPowered by |
Friday, June 20. 2008PHP namespaces become much better (Derick take note)Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Ah nice.
I did read Derick's post, and did think well, namespace s pretty pointless if still have to prefix with something unique, was just replacing one underscore with two colons.. hardly an improvement.
Use a different separator for namespaces and for classes, e.g.
$MyInteger = MyNamespace:::MyClass::MyFunc(); or $MyInteger = MyNamespace!!MyClass::MyFunc(); Cheers.
That's crap. The double colons in the class scope refer to a statically called function. Introducing a new seperator wouldn't make sense at all, because relationship between namespace and class is also static.
Thank you that this is finally fixed after we the thread in October 07' - http://news.php.net/php.internals/32541
|
Links in this article
PEAR Installer ManifestoCalendar
QuicksearchMy Latest ReleasesTop Exitspear.php.net (239)
www.php.net (79) pear.chiaraquartet.net (37) pecl.php.net (37) php.net (35) Blog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||