>>46864
with frameworks, template managers, and a vast amount of libraries for PHP, why wouldn't someone use PHP?
PHP supports closures, name spaces, and most things that any other modern web language or framework provides.
If you don't use pure PHP, and instead use a framework, the quality of code that can be produced, I would argue, is comparable to any other web based language/framework.
PHP still has naming problems, isn't consistent, weak typing issues, etc. It isn't perfect but bashing PHP is kind of stupid meme that people who think they know a lot about programming do.