Re: [RFC] [Discussion] Debugable enums

From: Date: Mon, 30 Mar 2026 23:11:33 +0000
Subject: Re: [RFC] [Discussion] Debugable enums
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-130504@lists.php.net to get a copy of this message
On Thu, Mar 12, 2026 at 5:05 PM Daniel Scherzer <daniel.e.scherzer@gmail.com> wrote: > Hi internals, > > I'd like to start the discussion for a new RFC about removing the > prohibition on __debugInfo() methods on enums. > > * RFC: https://wiki.php.net/rfc/debugable-enums > * Implementation: https://github.com/php/php-src/pull/21425 > > This is a replacement of my earlier RFC to allow __toString() based on the > feedback in that discussion, see > https://news-web.php.net/php.internals/129540. > This email is a notice that I intend to open the vote on this RFC in the next few days, barring any unexpected developments. -Daniel

« previous php.internals (#130504) next »