Re: napespaces

From: Date: Sun, 16 Feb 2003 11:38:26 +0000
Subject: Re: napespaces
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-926@lists.php.net to get a copy of this message
As for nested classes, I understand that it was decided (by Andi&Zeev) for now to drop support for nested classes - since they are too problematic and for namespacing we have now namespaces. But I guess Andi could answer better about all the reasons why it is decided so. DR>> namespace foo { DR>> class X { ... } DR>> } DR>> DR>> namespace foo { DR>> class Y { ... } DR>> } No, not for now. But if you explain why it could be needed, it can be added (I think, technically it's not a big problem... But not sure 100%). DR>> And what about this: DR>> DR>> class X { DR>> class Y { DR>> class Z { } DR>> } DR>> } DR>> DR>> how will that work now? Well, as far as I see it would not - since it was decided to not support nested classes anymore. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109

« previous php.zend-engine.cvs (#926) next »