> Le 21 juin 2026 à 20:33, Khaled Alam <[email protected]> a écrit : > > > Hi all, > > Reviving this thread. The v0.2 RFC > <https://wiki.php.net/rfc/const_object_property_write> (object property > writes on constants only; > array/dim writes removed) addressed Tim's concerns, and the 14-day cooldown > has long passed. > > Unless there are further objections, I intend to open voting on Monday, 29 > June 2026. 2/3 majority, > targets PHP 8.6, two-week vote. > > RFC: https://wiki.php.net/rfc/const_object_property_write > PR: https://github.com/php/php-src/pull/20903 > > Best regards, > __ > Khaled Alam
Hi, The RFC talks only about global constants. What about class constants? It is somewhat cumbersome to get a mutable object in this position, but it is nevertheless possible, and, at least for consistency, it should be ensured that they are treated the same way as global constants: https://3v4l.org/QhM1L —Claude
