Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_compile.c /tests ns_063.phpt
| From: | Pierre Joye | Date: | Mon, 05 May 2008 18:28:09 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_compile.c /tests ns_063.phpt | ||
| References: | 1 2 3 4 | Groups: | php.internals php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-6663@lists.php.net to get a copy of this message | ||
Hi Dmitry,
On Mon, May 5, 2008 at 8:02 PM, Dmitry Stogov <dmitry@zend.com> wrote:
> As we didn't drop this support yet, and it didn't work in namespaces by
> mistake I've fixed it to work in the same way as without namespaces.
>
> Removing this support won't give any speedup (except of compilation speed),
> but might break a lot of code.
As namespace are new (did not exist in previous version), I don't
think it can break any code. It is possible to argue that one will use
php4 (!!!) code together with namespace and that will not work. A
quick look in the namespace documentation willl teach him that his
code should be updated to use the normal constructor (which exists
since 4-5 years).
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org