Re: Re: [RFC] PHP Namespace Policy

From: Date: Wed, 29 Apr 2020 14:54:00 +0000
Subject: Re: Re: [RFC] PHP Namespace Policy
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-109929@lists.php.net to get a copy of this message
On 29/04/2020 15:16, Michael Morris wrote:
I would like the old "throw it all in" approach to be moved out of \ and into \PHP\Legacy. ... Or is \ itself just going to be legacy? I suppose that could be done
Renaming all the existing functions (and which ones? everything in PECL?) to PHP\Legacy\foo and then aliasing them back again would just be adding effort for everybody. If we really got to the stage where every single function in core had a non-legacy replacement outside the root namespace, we could just have a setting that "turned off" the versions in the root namespace. But frankly I can't imagine that ever happening; it's pretty much the same effort as "let's throw out the language and start again". Regards, -- Rowan Tommins (né Collins) [IMSoP]

« previous php.internals (#109929) next »