Re: nested namespace

From: Date: Fri, 07 Mar 2003 16:25:40 +0000
Subject: Re: nested namespace
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94897@lists.php.net to get a copy of this message
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! ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.dev (#94897) next »