Re: "PHP" namespace?

From: Date: Wed, 30 Jul 2014 02:54:08 +0000
Subject: Re: "PHP" namespace?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-76259@lists.php.net to get a copy of this message
Hi Ferenc, On Mon, Jul 28, 2014 at 5:22 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote: > namespaces has a bit clunky way of supporting constants: define always > assumes global ns(and the const syntax only allows scalar values so it > isn't always an option to use const). define() is problem because it's an exception. Possible solution might be "make define()ed constants aware namespace and allow importing them to \ (root)". Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#76259) next »