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

Reply via email to