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

Programmer Humor

25196 readers
1047 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
[–] leds@feddit.dk 16 points 5 days ago (1 children)

Maybe 25 years ago i build my first website for a paying customer ( my dad). I decided to go for php which was new to me at the time.

I figured it would be too risky ( even back then) to have PHP generate dynamic pages so instead I had php generate static html.

So whenever website needed updating , for example a new folder with images was added, you could just load the admin.php and it would generate gallery pages for you.

Would probably still work 25 year later if wasn't eventually replaced with some WordPress or something

[–] Zachariah@lemmy.world 16 points 5 days ago (1 children)

for many websites, this is the ideal way to do it

makes it order of magnitude more secure

[–] MonkderVierte@lemmy.zip 10 points 5 days ago

And performant. And accessible. And compatible.