Sep 26, 2023
Nice article Jason. Articulate and accurate. PHP has a long history of being slandered by idiots.
The only place I disagree with you is on type hinting. To me this is one of the best additions to the language. I like my classes small and my methods and properties properly typed. I wrote an article a while back that talks about creating custom types to make code cleaner. No idea if that's of interest to you and you'd probably strongly disagree with me. But hey. It's the Internet! Here it is: https://andrewscottchapman.medium.com/the-power-of-custom-types-a2fa74a54305