Hi, On Wed, Jul 30, 2014 at 5:47 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > Hi Andrey, > > On Mon, Jul 28, 2014 at 4:42 PM, Andrey Andreev <n...@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 > yohg...@ohgaki.net
If you'd alias the root namespace to \php or whatever, what's the point in all of it? I don't see such, so I assumed that you meant to require developers to explicitly import whatever they need in the root namespace. And that would be a major BC break. Cheers, Andrey. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php