4 ms·
I want structs and static classes (OK, the last one isn't really needed, just more about being a stickler).
by xellisx 6y ago
I want structs and static classes (OK, the last one isn't really needed, just more about being a stickler).
- tored 6y agoStatic class is probably the best solution for having namespaced functions combined with having auto loading working correctly. Structs would be great too, especially if PHP could support inner class definitions.
- xellisx 6y agoI started on some RFCs, but due to life events, I don't have time to finish them out. https://github.com/ellisgl/PHP-RFC-Struct-Data-Type https://github.com/ellisgl/PHP-RFC-Struct-Data-Type https://github.com/ellisgl/PHP-RFC-Static-Class-Type https://github.com/ellisgl/PHP-RFC-Static-Class-Type [edit: spelling]