Dispelling the hate against PHP
blog.someguy123.com
blog.someguy123.com
It's old, it has been through a lot of changes, most of them great improvements (although leaving some ambiguities behind, I admit) and it's so wildly popular on the web that the amount of disastrous coding and outdated information spread is a mess to deal with and discourages a lot of people who take software development seriously.
Personal Home Pages has its original purpose stated on its name and it used to be something you wouldn't want to be endorsing on a multi billion USD web service with millions of users.
Yet, PHP has become much more than a language for adding some cool web forms, a guest book and some other dynamic content on amateur home pages uploaded to shared hosting services.
We still have a hard time taking seriously any programmer who starts saying (s)he codes on PHP. Many of them can run in circles around me and any other developer any time with their skills, and I don't think their language of choice should have any impact on the judgment we do on their abilities or the quality of the software they build.
I still prefer many other languages over PHP but now I see them as just preferences (sometimes more or less appropriate, depending on the context), not better or worse choices.
Let the kids fight over which language is the coolest, I just want to get the work done.
Python/Ruby community is much different.
When I pen test PHP custom-built sites, I almost always find a dozen high-severity security defects.
Many of the popular PHP-MySql tutorials on the web have sql injection bugs, not a good way to learn a new language.
Not saying PHP is secure by any means, but it can be implemented securely - it just isn't very often.
That said, if there is an argument to be made for PHP, i'm afraid to say, I don't think the linked article does a good job of making it. While I think its suggestion that PHP has evolved beyond some of the common criticisms against it might have merit, it doesn't address that the bulk of PHP code in the wild most definitely has not.
PHP is evolving, many sites on the web are too. But legacy codebases are here to stay, I mean look at how many sites are still on classic ASP.
PHP was one of my first programming languages so I will defend it, the ecosystem is much cleaner than it was a few years ago, and it's still the easiest to deploy language IMO.