nah it's hated because it's such a crap language, I'm sure they piled enough stuff on it for 20y so now it's tolerable, but that doesn't change anything. PHP was originally "Hypertext Preprocessor", not even a programming language. You don't make a programming laguage as an after-thought.
> You don't make a programming laguage as an after-thought.
Why not?
I thought programming languages was just a tool, a means to an end. If that is the case, which I believe it is, it shouldn't really matter in which way it is created.
I would pick a tool that's grown out of actual needs over some guy thinking in the basement for 20 years any day of the week. Because the first one will solve problems and the second most likely won't.
because if you make a template engine and then oveload it with patches in order to make it behave like a general programming language, there is no way that can result in a cohesive thing that is effective for, say, financial transaction, which is something else completely different from what it was made for
And yet php pretty much power most ecommerce sites in existance. Sure maybe it isn't good enough for a banking systems, the NASA rovers, life supporting systems or similar stuff. But it certainly good enough for most web apps.
PHP is just too easy to hate, because of its massive popularity.