>>18
PHP may be "a shit" to you but does that change the fact that it's become
the ubiquitous language for dynamic webpages?
Many people don't understand the reason behind all of these things they view as flawed. PHP evolved to fit a certain niche and it has evolved well. It was not designed by language experts or theoreticians, but rather by people who had their goal in mind and approached the problem pragmatically. And pragmatism always wins in the real world. In the time it takes for you to find the most "elegant" design for your new web framework and before even writing a single line of code, your competitor has already gotten a site up and running with visitors.
The same argument can be applied to many other things, like the intricacies of the x86 architecture. PHP is not my favorite language, but something has to be said for its practicality and the popularity it's enjoyed. Thus, in much the same manner that I respect and admire the x86 for its longevity and personality, I can do the same for PHP.
tl;dr: Horses for courses, don't let idealism get in the way of practicality.