Re: [PHP-DEV] Scope and namespace
[email protected] (Zeev Suraski) Thu, 13 Mar 2003 14:34:49 +0200
| Newsgroups | php.dev |
|---|---|
| Message-ID | <5.1.0.14.2.20030313142630.085d9968@localhost> |
At 23:48 12/03/2003, Andrei Zmievski wrote: >Seeing as how we now have only one-level deep namespaces and classes >(which is another topic), does it make sense to have both 'scope' and >'ns' fields in zend_op_array structure? I would think they can be merged >into one. Not really, we can't. You can have functions inside a namespace, that don't have a class entry attached to them. I guess we could create some hybrid of the namespace and ce, but it would end up being ugly, with many more extra checks. Zeev