this post was submitted on 19 Jul 2025
1018 points (98.5% liked)

Programmer Humor

25425 readers
2006 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Source.

Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway... happy birthday!

you are viewing a single comment's thread
view the rest of the comments
[–] BlameTheAntifa@lemmy.world 78 points 2 weeks ago (6 children)

In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.

[–] mriswith@lemmy.world 19 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Most memes or jokes referencing a direct problem in PHP, are old or made by people who haven't touched the language in a decade(version 7 was in 2015, and it removed/fixed a lot of issues and added needed features).

There's also the huge looming thing that a lot of programmers forget: Websites like Wikipedia run on PHP, not to mention the amount of WordPress and similar websites are out there. Which means it will keep going strong. And for a while Facebook also used quite a lot of it, to the point where they made a rudimentary compiler instead of rewriting parts in more efficient languanges.

[–] Scrollone@feddit.it 4 points 1 week ago

Also, most of the websites are made with WordPress, which... take a guess, yes, it runs on PHP!

(even though WordPress is a bad example because it's written in a horrible and ancient way)

[–] LovableSidekick@lemmy.world 9 points 2 weeks ago (1 children)

I agree. A lot of people who mock PHP know almost nothing about it but they know they're supposed to hate it because all the cool kids do.

[–] Krudler@lemmy.world 1 points 1 week ago (1 children)

"What's the best tool"

"LINUX!!!!"

"Weird because I haven't told you what I'm trying to build yet"

[–] LovableSidekick@lemmy.world 2 points 1 week ago

I would have gone with hammer.

[–] glorkon@lemmy.world 7 points 2 weeks ago (1 children)
[–] SkaveRat@discuss.tchncs.de 4 points 1 week ago

I'm still confused why laravel is more popular. Symfony is so much nicer to use and maintain

[–] SavinDWhales@lemmy.world 4 points 1 week ago

PHP 8.4 is pretty good, TBH. You absolutely CAN write great code with modern PHP. ... Shame that most PHP I touch is legacy code that's at MOST PHP 7.4 - which is EOL since November '22 and has to be upgraded or replaced. 😬

[–] mad_lentil@lemmy.ca 3 points 1 week ago

Yeah last time I used it was with a laravel monolith and actually it wasn't that bad.

[–] marcos@lemmy.world -1 points 2 weeks ago

Yeah, if you add tons of extra rules and tools, it can become almost as pleasant as the main Python or Ruby experience.

Almost.