Re: [RFC] [Discussion] Add values() Method to BackedEnum
From: Joseph Leedy Date: Wed, 12 Nov 2025 16:21:43 +0000 Subject: Re: [RFC] [Discussion] Add values() Method to BackedEnum References: 1 Groups: php.internals Request: Send a blank email to internals+get-129207@lists.php.net to get a copy of this message
> ## Question for Community > > Which approach should we take for PHP 8.6? > > **Option A:** Accept 1-9% BC break for full type safety > **Option B:** Zero BC breaks, add typing in PHP 9.0 > > I'm inclined toward Option B (zero breaks for 8.6), but want to hear > community > preference before changing the implementation. > > Thoughts? I think option B is the best way forward, in my opinion.
Thread (12 messages)
| « previous | php.internals (#129207) | next » |
|---|