r/webdev • • 27d ago

Question How warranted is the PHP hate?

I feel like there has been a lot of hate on PHP, especially after the recent blowout regarding PHP vulnerabilities that even ended up on mainstream media. I even saw absolute non-techy people bringing up PHP and talking authoritatively about how "bad" and "old" it was lol. Not to mention the AI-shills saying one should just use Claude to create one owns CMS (!!). I am also aware that most PHP hate is usually misaligned hate intended for badly managed WordPress sites. And that some people just prefer other languages or love a hatetrain.

But one thing in particular that got to me was someone who mentioned that PHP has a page with vulnerabilities listed that go back 20 years and have yet to be patched. And that if you are a dev who is in any way interested in security within one's projects, you just don't use PHP at all. It was like having only a screen-door for your house with no locks. Do other languages have similar list of unsolved vulnerabilities? What makes them inherently more secure?

I dug around to find information about other popular programming languages and frameworks and it seems like at least right now, many are being found to have vulnerabilities due to AI being used to find them. React had a critical issue about a year ago, and Python earlier this year (although they did not blow up in the press like this).

Anyway, I would like to hear from people who use PHP regularly for work, beyond WordPress and who can maybe compare it to other languages/stacks as well. Please no low-effort replies from people who last used PHP 20 years ago or just don't like it, if possible.

0 Upvotes

89 comments sorted by

View all comments

Show parent comment

1

u/Apprehensive-Fan8999 27d ago

Agree to disagree on this one.

1

u/StoneCypher 27d ago

nah, facts exist.  not everything is an opinion.

angular shops can’t hire.  nobody uses it as a result

0

u/Apprehensive-Fan8999 27d ago

As stated in my GP that people seem upset about but never can be bothered to dispute. 😂

1

u/StoneCypher 27d ago

that people seem upset about 

sure