3 ms·
Is this a serious question? The creator of the language himself has admitted multiple times that it was never meant to be anything more than quick glue to add t
by Pewpewarrows 16y ago
Is this a serious question? The creator of the language himself has admitted multiple times that it was never meant to be anything more than quick glue to add tiny dynamic content to a webpage, much like Perl was back in the day. He rarely adds anything to the language because he thinks PHP will be better for it, rather he described it as whatever features people yelled that they wanted more. As such it's turned into this mess of a language today that makes you want to cry whenever you have to work on it for anything beyond simple websites.
OOP was clearly just an afterthought and is very poorly implemented / missing many core functions of real OOP languages.
No threading support. In fact, the language itself isn't thread-safe to begin with.
Libraries are close to non-existent for anything outside of basic web features.
Function, method, constant, and argument naming conventions and ordering are completely inconsistent across the entire language. Because of this for everything related to say, strings, you're forced to always re-lookup the damn argument order because the language designers can never seem to decide whether needle or haystack should come first.
The language has always taken years to get features that other languages took for granted a decade ago (like closures and namespaces).
For years it had terrible defaults and practically encouraged insecure websites. Magic quotes anyone?
I could go on a several hour tirade of why PHP is bad, but I'll just stop here. If you're still using it, I'm sorry.