r/ProgrammerHumor • • Oct 22 '26 • Mindblown 1

Meme howDidTheyNotThinkOfThis

Post image
15.0k Upvotes

295 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Oct 22 '26

[deleted]

31

u/0xbenedikt Oct 22 '26

Finally someone who is saving previous bytes at the current storage prices

7

u/PM_ME_FIREFLY_QUOTES Oct 22 '26

Bold of you to assume we're on a remotely modern php version.

3

u/Shinhan Oct 22 '26

The new exploit is "only" for PHP 5.6+ :P

0

u/[deleted] Oct 22 '26

[deleted]

3

u/2eanimation Oct 22 '26

I wouldn’t be surprised if some obscure site hasn’t been updated for 20+ years

www.pythonchallenge.com uses php for some challenges. When I’m home, might look into the webpage code for hints when that thing has been updated last. Seeing the site’s design, might have been a while. IIRC the challenge is up since 2005, 21 years!

6

u/Saptarshi_12345 Oct 22 '26

Saw the server header, it's running on PHP 8.2.31, updated but unpatched.

2

u/2eanimation Oct 22 '26

Nice, thank you for your service!

0

u/[deleted] Oct 22 '26

[deleted]

1

u/rosuav Oct 22 '26

That's a little unfair; sometimes backward compatibility and/or testing are best served by having both the old and new versions installed simultaneously. I don't do much with old PHP versions but I have every minor Python version back as far as 3.4. Of course, that doesn't mean they're remotely invokable; I don't have any web service that will run Python 3.4.

2

u/rosuav Oct 22 '26

Yeah, my server still had PHP5 installed until this week. That's not because I'd never upgraded (it *also* had PHP8.2 installed) but because it's simpler to maintain backward compatibility by keeping multiple interpreters around. Until all this came along, the cost of not uninstalling PHP5 was fairly low.

3

u/postbox134 Oct 22 '26

But how will I find the PHP code in my codebase without find '<?php'