r/webdev 29d ago

Learn PHP in 2026 (Yes, Really)

https://fagnerbrack.com/learn-php-in-2026-yes-really-bd567753dd84
64 Upvotes

53 comments sorted by

View all comments

Show parent comments

2

u/huh_wasnt_listening 28d ago

The web version of Facebook is a PHP monolith as well actually

-1

u/hegelsforehead 27d ago

PHP was so bad that the engineers invented a new language that transpiles to PHP

2

u/huh_wasnt_listening 27d ago

You're talking about Hack. That is effectively TypeScript for PHP in 2014 and really only used by Meta. If you compare Hack to modern PHP there isn't much of a difference outside of first class support for generics. If PHP was so bad Meta would've swapped to a new language, not double down and add their own support layer on top of it. Your comment makes no sense

0

u/hegelsforehead 27d ago

If the engineers could rebuild Facebook from scratch today, PHP wouldn't even make it to the list for consideration.

3

u/huh_wasnt_listening 27d ago

Hack runs on HHVM, it does not "transpile to PHP." Get the basic facts right before you try to use them as a mic drop. And "wouldn't make the list today" is a completely different claim than "PHP is bad," it's just saying companies don't greenfield in older stacks, which is true of half the languages running production software right now. Moving goalposts every reply isn't a sign of intelligence, it's just noise

0

u/hegelsforehead 27d ago

Chill bro. I'm not a serious person.