Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.h zend_compile.c
| From: | Andrei Zmievski | Date: | Tue, 01 Apr 2003 14:24:07 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.h zend_compile.c | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1091@lists.php.net to get a copy of this message | ||
On Tue, 01 Apr 2003, Stanislav Malyshev wrote:
> AZ>> - The fields of zend_namespace were not completely initialized which
> AZ>> led to a variety of problems.
>
> Could you please elaborate on that? Because if there is a place where it
> leads to problems this means there is a place where type is not checked,
> which is bad.
The problems were that fields like refcount, parent, etc were not
initialized. What I'm going to do today is implement the notion of
internal and user namespaces, similar to how classes are handled. This
will let extensions register their own namespaces and will prevent the
user from adding his types into extensions's namespace.
-Andrei http://www.gravitonic.com/
We all have photographic memories, it's just
that some of us don't have any film.