I really don't know if ppl writing here have ever programmed a real project in PHP. Check out Concrete5 and reply with a better, cleaner, faster to build modules/plugins for, more extendable open source CMS in any other language. Let's see what competition is out there.
Only a month ago we finished a very similar proprietary system that is so much better than say Apache Roller (which I had prior experience), it's not even funny.
Now, obviously there are certain things that PHP is just not good at because there simply wasn't any pushing in certain areas. Scala's continuations are one such thing that I really need recently and PHP is just the wrong tool for. Obviously I'm using Scala for it and the turnaround was pretty quick too (especially considering how much more complex thinking Scala requires).