Re: "PHP" namespace?

From: Date: Wed, 30 Jul 2014 02:47:02 +0000
Subject: Re: "PHP" namespace?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-76258@lists.php.net to get a copy of this message
Hi Andrey, On Mon, Jul 28, 2014 at 4:42 PM, Andrey Andreev <narf@devilix.net> wrote: > This would be a major BC break, that couldn't possibly happen in PHP > 5.x and IMO is way too radical even for PHP 6/7. > It wouldn't be major BC, but minor. Most compatible way is to allow namespace alias to \ (root) and simply override existing functions. There isn't BC with this. PHP allows it already when it is done one by one. If we would like to have clean \ (root) namespace optionally, it's matter of adding a setting. What make you think it a major BC? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#76258) next »