Coding Horror: The PHP Singularity
A good take on the ghoulery of PHP. It's a fairly extreme viewpoint as there are plenty of people making good products from PHP and that's what the real result should be, not just good quality code bases (although the two depend on each other after a couple of iterations of development).
The real problem is people. You could invent a new programming language, one to rule them all... but there will always be crap programmers. People who don't care that much about it, just do a bit on the side, work for themselves and just lay little bad eggs for multiple customers and move on. There are still people I have spoken to *very* recently that were arguing against design patters / OO programming and other fundamentals. You won't escape that. The answer is to chill out about it. The more crap programmers, the better you will look and the more it will keep you in work sorting out their mess.
So really what I am saying is "Thank you crap programmers" :-)