Re: [VOTE] enum SortDirection

From: Date: Wed, 18 Mar 2026 18:38:10 +0000
Subject: Re: [VOTE] enum SortDirection
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-130396@lists.php.net to get a copy of this message
On Wed, Mar 18, 2026 at 9:52 AM Tim Düsterhus <tim@bastelstu.be> wrote: > > Hi > > I just opened voting on the “enum SortDirection” RFC. > > The RFC document is available at: > https://wiki.php.net/rfc/sort_direction_enum > You can find the Discussion at: > https://news-web.php.net/php.internals/130226 > > The RFC contains a single primary vote requiring a 2/3 majority. Voting > closes in just over 14 days on 2026-04-01 16:00:00 UTC. > > Best regards > Tim Düsterhus Tim, I am curious if adding a backing value in a future release would be considered a breaking change or not, something like: enum SortDirection { case Ascending = 1; case Descending = -1; } The exact values don't matter for my question, only whether or not it would be considered a backwards compatibility break.

« previous php.internals (#130396) next »