On 08.12.2020 18:40, Larry Garfield wrote: > * We're going to shift Enums to be a single class with a bunch of secret > properties inside to hold the different case object instances, rather than a > class per case. That should make the overall memory usage lower, especially > for enums with a large number of cases. As an unfortunate side effect, this > will preclude per-case methods, at least for now. :-(
Imo, this is good. This whole sub-classing part looked to me as too much (at least for this step). Thank you for all this work. -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php