[RFC] [Discussion] Debugable enums

From: Date: Fri, 13 Mar 2026 00:05:53 +0000
Subject: [RFC] [Discussion] Debugable enums
Groups: php.internals 
Request: Send a blank email to internals+get-130303@lists.php.net to get a copy of this message
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. Thanks, -Daniel

« previous php.internals (#130303) next »