Re: [PHP-DEV] PHP RFC: Locked Classes

2021-11-05 Thread Claude Pache
> Le 5 nov. 2021 à 11:40, Glash Gnome a écrit : > > Hi internals, > > I was reading the RFC https://wiki.php.net/rfc/locked-classes > Note that this RFC is marked as “withdrawn”, and that an alternative approach has been proposed in: https://wiki.php.net/rfc/deprecate_dynamic_properties <

[PHP-DEV] PHP RFC: Locked Classes

2021-11-05 Thread Glash Gnome
Hi internals, I was reading the RFC https://wiki.php.net/rfc/locked-classes Have you thought about the possibility of using the keyword "*struct*"? struct TestClass { // locked properties } class TestClass { // dynamic properties } Best regards,