PHP like JS is popular. No question about the fact that you can do great things in PHP and that great things have been done with it.
I appreciate all bootstrapping courses that teach programming.
That being said, your post does not demonstrate anything.
Saying “But when written properly, following methodologies such as DRY, SOLID and MVC” is not a valid point. Simply because :
PHP is fast fo pick up, has a model that fits fine with the HTTP protocols ( stateless request / response), can be run everywhere, have great frameworks and a great community. I think that to begin with PHP is not a bad choice, especially if you aim at being operational fast.
However PHP7 does not fix PHP, it helps but it does nor fix it. Yes it is broken : eev.ee/blog/2012/04/09/php-a-fract...
In the space of distributed application, PHP lacks maturity compared to Java (jvm rocks) by example, in the space of concurrency and parallism, there are also better choice.
In short, yes PHP is not dead.
Statistics don’t say that it’s a good, just that it’s there.
Yes every languages have flaws but very few have flaws like PHP (where is PHP 6??) which are important to know.
It does matter for those who plan to work in challenging environments in the futur.
(Edits some mistakes)