PHP: A fractal of bad design
If we really need neat, clean implementations, why not avoid scripting languages altogether and go for structured, type safe languages? The developer needs to be much more learned and experienced, but in the end would the code will be high quality. But the fact is web needs cheap, fast implementation. No time to crib about warts and all. All web languages are results of duct tape mentality!