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\Legac
On Sat, Apr 25, 2020 at 3:28 AM Rowan Tommins
wrote:
> Hi Michael,
>
> On 25 April 2020 00:00:32 BST, Michael Morris wrote:
> >Changing function names and argument orders would lead to BC breaks so
> >massive people would move away without a transition plan that was
> >sustainable long term. Na
On Mon, Apr 27, 2020 at 11:26 AM Rowan Tommins
wrote:
> To me, the answer to that is quite simple: we have several hundred
> functions, and several dozen classes and interfaces, which are not in such
> a namespace; and we have millions of lines of code out in the world using
> them. So either we
On Sun, 26 Apr 2020 at 20:55, Mark Randall wrote:
> I would be interested in hearing arguments why such a strategy adopted
> with great success by many of the most popular and well-developed
> languages, is inappropriate for PHP.
>
To me, the answer to that is quite simple: we have several hund
Hi Michael,
On 25 April 2020 00:00:32 BST, Michael Morris wrote:
>Changing function names and argument orders would lead to BC breaks so
>massive people would move away without a transition plan that was
>sustainable long term. Namespaces give that opportunity, I think.
You're not the first pe
On Fri, Apr 24, 2020 at 6:09 PM Mark Randall wrote:
> On 25/04/2020 00:00, Michael Morris wrote:
> > So, in steps:
> >
> > 1. Take the current function roster - all of it - and put it in
> > \PHP\Legacy\. So the formal name of strpos would become
> > \PHP\Legacy\strpos.
> > 2. The root namespace
On 25/04/2020 00:00, Michael Morris wrote:
So, in steps:
1. Take the current function roster - all of it - and put it in
\PHP\Legacy\. So the formal name of strpos would become
\PHP\Legacy\strpos.
2. The root namespace would be empty BUT...
3. An INI directive set globally or per directory can
On Thu, Apr 23, 2020 at 9:48 AM Mark Randall wrote:
> On 15/04/2020 12:21, Mark Randall wrote:
> > https://wiki.php.net/rfc/php_namespace_policy
>
> Just an update in light of the two different RFCs.
>
> Having chatted with the other RFC authors in R11, rather than racing to
> see who can get the