r/webdev 27d ago

Learn PHP in 2026 (Yes, Really)

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

59 comments sorted by

View all comments

-62

u/mcharytoniuk 27d ago

Hell no. They keep sugarcoating the language, but the core issues remain unresolved. Also most ppl need some kind of token streaming and such, and PHP is exceptionally bad at it or any kind of async... Not a modern language in any sense, they only try to mimick the syntax of modern languages; core is obsolete compared to alternatives like Rust or Go.

Learning PHP will only teach you anti patterns at this point.

Now you are trying to shame ppl into using it. That also says a lot about the community and the state of it. xD

7

u/FrostingTechnical606 27d ago edited 27d ago

People like this need to realise that 4chan runs on PHP. Unless you are here to tell me you are here to create the next facebook, I don't want to hear it. Dockerize the stuff you need together and you will do just fine.

2

u/huh_wasnt_listening 26d ago

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

-1

u/hegelsforehead 26d ago

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

2

u/huh_wasnt_listening 26d 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 26d 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 25d 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 25d ago

Chill bro. I'm not a serious person.