Re: "PHP" namespace?
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
Thread (17 messages)