DEV Community

Cover image for Is PHP going to die?
Mohammad ALi Abd Alwahed
Mohammad ALi Abd Alwahed

Posted on

Is PHP going to die?

programmers still criticizing PHP while 2023 W3Techs reported an impressive 77.5% of all websites are still relying on it, thanks to Laravel and WordPress PHP community is growing. and growing is not a road to death! in addition to the latest massive improvements since PHP8 came out supporting more OOP the language has a promising future .

Top comments (18)

Collapse
 
bogdaniel profile image
Bogdan Olteanu

PHP is not dying most of the people who write blog posts about php dying usually they haven't used it since version 5. We are on version 8 and it's super fast and more features have been added or will be added. Also as you said 77% of the web is build on top of php. If it would be dead how come we got 77% ? :-)

Collapse
 
brense profile image
Rense Bakker

Because its down from 99% that's an extremely fast drop :p

Collapse
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

Dollar is a Dollar my dear even if its not used the same globally

Thread Thread
 
brense profile image
Rense Bakker
Collapse
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

100%,in web domain JS is raising even python , those who moved there or new to web dev have no idea about what we both are talking about .

Collapse
 
supportic profile image
Supportic • Edited

PHP has surprisingly matured over the past years, not gonna lie. It has a type and class system. Autoloading and dependency injection makes it even easier to manage objects. The package manager Composer is pretty similar to NPM, YARN, etc. and in my eyes even better because it checks all dependencies and installs the right versions to be compatible with all packages.
Surely you will encounter legacy code and older functions due to backwards compatibility but it's not that bad.

Collapse
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

and getting better by time

Collapse
 
brense profile image
Rense Bakker

It will always exist in some form, just like cobol and fortran are still around xD

Collapse
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

and dominating the same though

Collapse
 
brense profile image
Rense Bakker

PHP still doesnt have good async support... jetbrains.com/lp/devecosystem-2022...

Thread Thread
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

not exactly :p there is a package to help us through this point
github.com/spatie/async

Thread Thread
 
brense profile image
Rense Bakker

There are several solutions for it, if you look at the article I linked, none of them has been able to get any meaningful market share, despite being around for more than a decade. PHP just wasn't meant for writing async code and it's one of the shortcomings that will eventually make it obsolete.

Thread Thread
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

for sure ! each language has its own weak points

Collapse
 
lexiebkm profile image
Alexander B.K.

There are still quite a lot of jobs that require it, esp with Laravel.

Collapse
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

ofcours but its happening so there is a progress

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
brense profile image
Rense Bakker

You're operating on the assumption that people who work with something other than PHP hate PHP or have no experience with it. You know what they say about assumptions?

Collapse
 
maliano63717738 profile image
Mohammad ALi Abd Alwahed

oh am not absoulotly I worked my self with differnt tecs but comments about that subject online are massive and deserve to be talked about