It's interesting that these kind of false premises come up often on HN. Don't get me wrong, I don't like PHP either, but nowadays. PHP is just as "modern" as many other languages in use. And with frameworks like Laravel and Symfony, it stacks up well against the likes of Ruby on Rails, Django or any NodeJS based stack.
And let's not forget that the majority of websites and webapps runs on PHP.