Re: [PHP-DEV] [VOTE] Enumerations

2021-02-17 Thread Ben Ramsey
> On Feb 17, 2021, at 12:08, Rowan Tommins wrote: > > On 17/02/2021 17:51, Ben Ramsey wrote: >>> On Feb 17, 2021, at 11:48, Chase Peeler wrote: >>> >>> If that were to not pass, though, it seems supporting enum cases as keys >>> would be worth exploring. Fully support allowing all objects as k

Re: [PHP-DEV] [VOTE] Enumerations

2021-02-17 Thread Rowan Tommins
On 17/02/2021 17:51, Ben Ramsey wrote: On Feb 17, 2021, at 11:48, Chase Peeler wrote: If that were to not pass, though, it seems supporting enum cases as keys would be worth exploring. Fully support allowing all objects as keys though. Others, please correct me if I’m wrong, but I believe ea

Re: [PHP-DEV] [VOTE] Enumerations

2021-02-17 Thread Ben Ramsey
> On Feb 17, 2021, at 11:48, Chase Peeler wrote: > > If that were to not pass, though, it seems supporting enum cases as keys > would be worth exploring. Fully support allowing all objects as keys though. Others, please correct me if I’m wrong, but I believe each enum case is already an objec

Re: [PHP-DEV] [VOTE] Enumerations

2021-02-17 Thread Chase Peeler
On Wed, Feb 17, 2021 at 12:41 PM Ben Ramsey wrote: > > On Feb 17, 2021, at 09:26, Chase Peeler wrote: > > > > On Wed, Feb 17, 2021 at 10:09 AM Rowan Tommins > > wrote: > > > >> On 17/02/2021 14:30, Larry Garfield wrote: > >>> The Enum RFC has been approved. > >> > >> > >> Thank you and Ilija so

Re: [PHP-DEV] [VOTE] Enumerations

2021-02-17 Thread Ben Ramsey
> On Feb 17, 2021, at 09:26, Chase Peeler wrote: > > On Wed, Feb 17, 2021 at 10:09 AM Rowan Tommins > wrote: > >> On 17/02/2021 14:30, Larry Garfield wrote: >>> The Enum RFC has been approved. >> >> >> Thank you and Ilija so much for putting in the effort to make such a >> carefully thought-t

Re: [PHP-DEV] [VOTE] Enumerations

2021-02-05 Thread Dan Ackroyd
On Wed, 3 Feb 2021 at 17:29, Larry Garfield wrote: > > The vote on the Enumerations RFC is hereby opened. It will run until 17 > February 2021. The no vote for this is slightly higher than I was expecting. I understand that some people think enums should be 'just consts' and some people might n

[PHP-DEV] [VOTE] Enumerations

2021-02-03 Thread Larry Garfield
The vote on the Enumerations RFC is hereby opened. It will run until 17 February 2021. https://wiki.php.net/rfc/enumerations Vote now, or forever hold your memory allocations. -- Larry Garfield la...@garfieldtech.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe