You only have to browse code on phpclasses.org (the most popular PHP code contribution site I think?) to see that there is something very very wrong with how PHP code is developed.
Also the comments left in the PHP documentation don't seem to be moderated on code quality and a lot of bad practice has slipped in.