Re: [RFC] Reserve keywords in PHP 8

From: Date: Mon, 15 Jun 2020 14:51:41 +0000
Subject: Re: [RFC] Reserve keywords in PHP 8
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-110514@lists.php.net to get a copy of this message
Maybe it would be good to talk to the developers of that package? They
might have some valuable input on how to design a built-in enum
feature.

It might also help them plan out a migration path.


On Mon, Jun 15, 2020 at 11:18 AM Ilija Tovilo <tovilo.ilija@gmail.com> wrote:
>
> Hi Marco
>
> >> I created a new RFC for reserving keywords we might need in PHP 8.x versions.
> >> https://wiki.php.net/rfc/reserve_keywords_in_php_8
> >
> > This seems messy now, mostly because the enum symbol is very much in use in
> > very stable packages:
> >
> >  * https://packagist.org/packages/marc-mabe/php-enum/stats
> >  * https://packagist.org/packages/myclabs/php-enum/stats
>
> Hmm, I see your point. Although, myclabs/php-enum having the momentum
> it does, the situation might be worse for PHP 8.1.
>
> Ilija
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>


Thread (8 messages)

« previous php.internals (#110514) next »