Re: [PHP-DEV] nested namespace

2003-03-07 Thread Greg Beaver
Derick Rethans wrote: On Fri, 7 Mar 2003, Greg Beaver wrote: namespace Package { const one = 1; namespace SubPackage { const one = 'one'; } } You can not nest namespaces, so this wont work. Derick OK, makes sense. Adding this sentence would clear up a great deal of confusion. Re

Re: [PHP-DEV] nested namespace

2003-03-07 Thread Derick Rethans
On Fri, 7 Mar 2003, Greg Beaver wrote: > namespace Package { > const one = 1; > namespace SubPackage { > const one = 'one'; > } > } You can not nest namespaces, so this wont work. Derick -- Stop mad cowboy disease! ---

[PHP-DEV] nested namespace

2003-03-07 Thread Greg Beaver
Hi, I'm wondering if a note of clarification could be added to ZEND_CHANGES. The sentences: A namespace's name may contain colons to denote "sub-namespaces". This is pure syntactic sugar, the Zend Engine will not see, for instance, the namespaces "Package", "Package:Subpackage" and "Package:Sub