DEV Community

Discussion on: IS PHP Dead?

Collapse
 
hasnaindev profile image
Muhammad Hasnain

What's keeping PHP alive is that it powers 80% of the websites on the internet. It is an absolute giant. Facebook, Yahoo and even P***hub is built with PHP. Regardless of what anyone says or think, especially the new kids in love with JS, PHP is NOT going anywhere.

PS, I'm also a MERN stack developer but thinking about languages dying or how A is better than B are completely immature ways to think as a developer. You have a problem, you look for the right tool to solve it with, and that's that.

Collapse
 
joemoses33 profile image
Joe 🏴󠁧󠁢󠁷󠁬󠁳󠁿

I totally agree.

Having touched on MERN I know how powerful it is, and I think that's something some devs forget - we can get quite cult-ish with our languages. We need to change that 😁

Thread Thread
 
celyes profile image
Ilyes Chouia

you definitely touched MERN, but you definitely didn't touch PHP and its ecosystem well enough...

Collapse
 
mjablecnik profile image
Martin Jablečník

Yes I agree. You have a problem so you find the right tool for solution.
But developers have mostly some own favorite programming language, mostly it is same which learned as first (JS, PHP, Ruby, Python, C#, Java, etc..) and also depends on personal tastes.
And doesn't want to learn something other when they have some own solution in their language.
Developers when talking about what language is "the best" are in real talking "I'm using this.." because for them it is the best solution because they don't have some large overview what is also possible with other languages and what are the pros or cons its solutions.. :)

Collapse
 
ivan_jrmc profile image
Ivan Jeremic

Not anymore.... this are old myths

Thread Thread
 
hasnaindev profile image
Muhammad Hasnain • Edited

Myth? Okay fam. Even Whitehouse's new website is built with WordPress.
The articles below ain't taking countless Laravel, other frameworks and core PHP into consideration. These are facts and not myths.

kinsta.com/wordpress-market-share/
10up.com/blog/2021/10up-helps-laun...

Collapse
 
darkain profile image
Vincent Milum Jr

Facebook stopped using PHP as their primary language years ago. They built their own in-house language, HACK (used by be compatible with PHP, but not any longer)

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
darkain profile image
Vincent Milum Jr

Not quite. HHVM was an entirely separate implementation that supported PHP, but then they also forked the language to create HACK, and then dropped PHP language compatibility. HHVM and HACK is not PHP compatible at this point in time, but there was a point in time when there was compatibility.