当前位置:首页 -> 新闻中心 -> 新闻信息

PHP 5.3将支持namespace命名空间

加入时间:2007-10-22     浏览次数:388     [ 关闭 ]
TAG: Namespace, News, PHP, 内核开发, 命名空间

目前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-engine.cvs/6039

See my other articles on how to use namespaces:

Article 1 (Basic Syntax)

Article 2 (Namespace constants)

 

付款方式|客户反馈|加盟合作|人才招聘|成功案例|联系我们|