I am no hardcore programmer and PHP is perfect for me. Tbh I haven't encountered one single bad thing about it during my 5 years programming, although I understand there are major flaws in it. What I'm saying is that for most people PHP works completely fine and is as good as anything.
Of course, you can build working stuff with PHP. It is good enough for weekend projects and prototyping stuff. Companies like Facebook have even proved that you can build huge things with it. Put that's not the point. It's not about bashing PHP for the sake of it. A large number of software projects is behind schedule and over budget. Why? Because developing software is hard and humans are bad at estimating effort. N…
What matters is that PHP has got big things right. Deployment is trivial. One process per request happens to mitigate leaks and (over)shared state. Failures affect one client at most, and scalability bottleneck is pushed down to the database.