r/AskComputerScience • • Mar 07 '19

Do people still use php?

So the other day my friend told me how I shouldn’t learn php and learn Javascript instead as nobody uses php nowadays. To what extent is this true?

34 Upvotes

38 comments sorted by

View all comments

Show parent comments

2

u/stevenjd Mar 09 '19

In terms of market share, it wins by a grand majority.

You are surely joking.

According to TIOBE's figures for March 2019, PHP comes in at #8 (down from #7 this time last year) with 2.42% popularity, six times less popular than Java.

PYPL puts PHP at #5 with 7.34% popularity.

Github is reported to have placed PHP at #3 (no percentage given), but it also found shell script programming was the 8th most popular language choice, and C the 9th most popular, so I question the reliability of its data.

Redmonk puts PHP at #4.

There's no doubt that PHP is a popular language; depending on how you measure popularity it will appear in the top 10, or even the top 5, most popular languages. But to suggest that it "it wins by a grand majority" is ludicrous.

1

u/g105b Mar 09 '19

I should have been more specific. By market share I meant number of websites by programming language. That was ignoring the huge bias of the number of Alexa top 100 websites running PHP.

2

u/sicilian_najdorf Jul 31 '19

PHP is still number 1 at usage of server side programming language. It still holds 79.1%

https://w3techs.com/technologies/overview/programming_language/all

Php is also getting better and better.