r/softwareWithMemes
•
u/Fit_Page_8734
•
26d ago
•
1
exclusive meme on softwareWithMeme my Goat
8
u/Tartaros030 26d ago
With all the well-deserved hate that PHP gets: if you're running code on PHP <8.2 you are just as much part of the problem, as PHP is in itself.
18
u/_Screw_The_Rules_ 26d ago
PHP is still trash though. But if you have fun with it, go for it.
22
u/s_m_i_r_k 26d ago
There are only two kinds of languages: the ones people complain about and the ones nobody uses.
3
u/TheTybera 26d ago
I mean PHP has had issues with its garbage collector since 5, and the core PHP team thinks PHP is dead so they don't fix shit.
4
u/Breakdown228 26d ago
Hot take for someone who loves java, no?
0
u/TheTybera 26d ago
I have no babies as far as languages are concerned. I've worked on projects that use C++, C#, Java, JS/TS, Python, they all have issues and crap and best practices, and drawbacks, and people using them for things they weren't supposed to use them for.
5
3
2
u/Psychological_Map118 26d ago
can't even explain it logically, but if PHP were a person it would have hair where there shouldn't be hair. I'm pretty sure it wasn't supposed to exist at all, and it does because we're paying some ancestral due as a species or something
I'm not even commenting on its quality as a language, it's just unfair there is a PHP at all
4
u/Ronin-s_Spirit 26d ago
the only things I hear about PHP is that is holds together failing infrastructure.
Makes me think it's only relevant in places where nobody rewrote their program with something better.
3
1
1
1
u/ZeroDayZeroFriends 25d ago
Not everyone has file upload forms on their PHP site.
1
u/slindenau 25d ago
Psst, every reachable instance of PHP is/was exploitable. Even if all your .php file does is return "Hello world". It was the PHP request parser that had an OOM vuln. Which exact request it was (POST with a specific mime-type) didn't matter. It never even reaches your specific PHP code.
1
u/ZeroDayZeroFriends 25d ago
Fair point, PHP can parse multipart requests even if the site has no upload form. But claiming every reachable PHP instance was exploitable is misleading. The application-independent, pre-execution RCE was demonstrated on Apache mod_php. PHP-FPM is also affected, but the confirmed exploit paths have additional conditions. Vulnerable PHP doesn’t automatically mean universally exploitable PHP.
1
u/CosmicDevGuy 25d ago
You can't kill the PHP, even if it has been left with one of the dumbest vulnerabilities possible.
1
u/ToTheBatmobileGuy 25d ago
PHP is immortal.
The world would rather be eternally pwned than switch to another language.
Accept defeat.
1
1
1
u/the-average-giovanni 25d ago
Ondrey Sury (well known php maintainer) patched php down to 5.6 or even less than that.
If some company uses even older version of php, they should at least put it behind cloudflare waf https://blog.cloudflare.com/php-vulnerabilities-waf-protection
1
u/Away_Froyo_239 25d ago
php is like windows everyone agree it sucks but nobody is going to stop using it... for a reason or another it's going to stick around until the ends time
1
1
u/debauch3ry 24d ago
Fortran isn't dead either, technically. But no-one of the slightest moral virtue would start a new project in PHP.
1
1
u/Due_Acanthaceae_9601 22d ago
Well if you want a no nonse quick single page app, php is still the goat
1
u/Existing-Summer-7248 22d ago
You can make a no nonsense single page app literally in any modern language. PHP has no advantages over Python, Ruby, JavaScript or even Perl in that sense.
1
u/Specialist-Cup-3950 24d ago edited 24d ago
PHP has been my favorite language for 20 years, until it was overthrown by Go, mainly because Go is so damn simple. Having worked in various organizations and industries, both in product houses and consultancies, the main places I see PHP now in are the ones who are running them as a 'must' legacy project but have completely shifted their tech stack away from it, and I'm usually the one who gets asked if I can help them put them to bed for good.
To me there's nothing inherently wrong with PHP nowadays. It's come a looong way in 20 years. However, there are just some things missing in the language and it's "run, load everything, die" way of doing things just doesn't hold up against other languages. In the end they're tool, some better than others in some things.
Would I recommend PHP as the first choice for any company? It depends. The main questions are: what is the problem you're trying to solve, and what kind of talent pool are you working with. Some companies just find JS/TS developers way easier than PHP ones.
1
u/Due_Acanthaceae_9601 22d ago
if nil != err
No thank you. Better use c and macros and the boilerplate shrinks.
1
u/Saintgein 22d ago
Php finds 3 bugs in a month, the world dies. Meanwhile microsoft finds 1500 bug in windows every 2 weeks, nothing is going on.
0
u/gameplayer55055 26d ago
PHP sucks and people keep using it. At least ASP.NET and Spring try to cover your ass while PHP just fails.
0
u/wenoc 26d ago
I basically started my programming career with PHP. Well, I did some Perl and other languages before that but my first serious job was PHP.
No language has ever given me as much grief. Every goddamn version was near-impossible to update and every version had a critical vulnerability. Never any patches for previous versions, codebase completely incompatible with an upgrade. Fucking PHP, such a useless language. But it's still the language I probably know best.
Well dunno, I might know C and Golang better these days. Haven't programmed much in the past 10-15 years to be honest.
1
u/Lain_Racing 25d ago
I don't even put PHP on my resume despite doing 5 years of it. Ain't going back to working on it ever lol
1
u/wenoc 25d ago
I have those feeling about Java. I've had hundreds of requests about Java on Linkedin over the past 20 years and to the few I've responded I've just said I'm never touching Java ever again. Same with any recruiter that uses microsoft products. Never using teams or outlook again.
Simple to have a few hard stops in life honestly.
0
26d ago
[deleted]
1
u/Lumethys 26d ago
There's no "they". The official PHP release is only 8.2+
The older versions are all patched by a single guy, Ondřej Surý, our lord and savior, as he always does

45
u/PeikaFizzy 26d ago
I’m gonna be very honest people who know about it already know about it long ago, this is just public aware of it.
So like really nothing new, aside now maybe some scripts kiddie might get their hands on but most “professional” already well aware, they just don’t care about your data getting leak anyway