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
|
Calendar
CategoriesPopular EntriesSetting up your own PEAR channel with Chiara_PEAR_Server - the official way
(36) Do you develop a website? It is infinitely better to synchronize live and development sites using the PEAR Installer(25) How to put the FAIL in open source(22) 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) PEAR now fits in a bottle: meet go-pear.phar(17) Mac OS X ships with security hole-laden PEAR - how to upgrade immediately(16) Introducing pecl extension phar(13) go-pear.phar works! In related news, PHP_Archive is now PHP 5.1.0+(12) |
|||||||||||||||||||||||||||||||||||||||||||||||||