目前PHP的CVS已建立5.3版本的分支,并且已将namespace加进去,这绝对是个好消息,毕竟采用面向对象开发时有个namespace的功能非常有必要。
虽然之前由Greg Beaver发布的namespace patch没有获得支持,但是PHP内核开发人员还是提供了另一版本的patch,请看这里:http://news.php.net/php.zend-engine.cvs/6039。
同时也宣布一个消息,经过PHP内核开发人员的讨论,Johannes将成为PHP 5.3的发布管理者,请看这里:http://news.php.net/php.internals/32497。
希望将来会给大家带来一个更好的PHP版本。
原文:
That's it. HEAD has been ported to PHP 5.3's branch. This means that the next PHP version (5.3) will have namespaces. The patch by Greg Beaver to allow multiple namespaces has not been applied yet but I sure do expect it to be applied to 5_3 and HEAD soon.
For technical information on the patch see: http://news.php.net/php.zend
See my other articles on how to use namespaces:
Article 2 (Namespace constants)