4 ms·
Static class is probably the best solution for having namespaced functions combined with having auto loading working correctly. Structs would be great too, esp
by tored 6y ago
Static 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]