Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_compile.c /tests ns_063.phpt

From: Date: Mon, 05 May 2008 18:51:43 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_compile.c /tests ns_063.phpt
References: 1 2 3 4 5 6  Groups: php.internals php.zend-engine.cvs 
Request: Send a blank email to internals+get-37479@lists.php.net to get a copy of this message
On Mon, May 5, 2008 at 8:43 PM, Dmitry Stogov <dmitry@zend.com> wrote: > It's just simple to make constructors work in the same way in namespaces and > out of them. It would be difficult to explain why the first script prints > "ok" and the second doesn't. It is easy to explain: "You have to use the __construct form for any class used in Namespace". We can then even drop the old form in php 6.x. Many changes have no gain but make the language clearer or cleaner. It is not an objective change but it does help to cleanup the language. I will not die if we still support old things for the rest of the php's life but... Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#37479) next »