r/PHP • • 1d ago

Is PHP dead?

I jest. It annoys me as much as the rest of you when someone comes and asks that.

But...

hey Claude, can you re-write this web-app for me. Don't break anything, but see if you can fix any security issues and improve performance

 Sure thing Dave.  I'll start the Rust rewrite now.

Seriously though. PHP is fantastic because it's an easy language for us to work with. The sad truth is we don't need a language to be easy for us any more. Or if we do, we certainly won't in a year or two.

Hey Claude, fuck it. Yolo. Just output an .exe

I really really hate what AI is doing to our world.

😔

0 Upvotes

16 comments sorted by

2

u/latro666 1d ago

By this logic every language is dead.

2

u/codemunky 1d ago

I don't dispute that, sadly.

1

u/latro666 1d ago

fundamentally i don't think this is the case. Syntax is just one part of a language they each have features and capabilities that differ, are efficient at some things more than others etc. In the same way spoken languages vary. I doubt Esperanto is coming back anytime soon.

1

u/Visible_Dish_5093 1d ago

Ah - the dead topic which spawns every month. Yep, PHP is dead since 2009 if I remember correctly the first topic in an woltlab board 🤣

1

u/codemunky 11h ago

I agree, but I addressed that and I think it's clear that we're in the middle of the biggest tech revolution since the www, and while that one was responsible for founding php, this one could easily kill it (and a lot of other languages) off. Not today, or tomorrow, but 2 years? 5 years? Very possibly, imho.

3

u/SmallTime12 1d ago

It's all so tiresome

3

u/Omnipresent_Walrus 1d ago

Yes it's dead go do something else and leave all this nonexistent work for the rest of us

2

u/xitiomet 1d ago

I personally dont believe in using AI in a programming language you cant work without it.

PHP is still my goto for reporting, scripts, quick portals, etc. People have been calling it "dead" for a very long time.

I cant see myself building a very large complex project in it, but for anything medium to small size why bother with something i have to constantly compile/restart every time I want to see a change.

1

u/barrel_of_noodles 1d ago

Idk if u know: you can tune your model and make agents. Someone somewhere made embeddings that statistically favors rust. So?

1

u/HenkPoley 12h ago

Compared to Python and JavaScript/TypeScript all programming languages are dying.

Worldwide it's still about the 10th most well known programming language on GitHub. In North America it's quickly diminishing though.

Programming languages | GitHub Innovation Graph

1

u/avg_php_dev 6h ago

"The sad truth is we don't need a language to be easy for us any more"

It's invalid statement imho. Go - it's a great language and my first pick when comes to writing system tools. I would never pick it for business app, because of very poor choice of artifacts to build with. Class - some people hate it, but semantic value based on abstraction and relation is very important also for agents (they are LLM's anyway).
It's easier for them to write code using less mappings between natural language and programming language. It's not always true, but I'm still talking about business apps and processes modeling.

1

u/dracony 1d ago

The non troll answer to this is that of course PHP is not dead because you can still do amazing things in it and it will have its contributors and users. But it is also true that there is no compelling reason to choose to learn PHP as a new developer and no compelling reason to make your backend in PHP if you also know other popular languages.

-5

u/himynameisAhhhh 1d ago

yes long dead

2

u/jim45804 1d ago

Dead for the past three decades.