PHP Usage Stats

I was challenged to justify my position this morning, that PHP is a popular programming language.

Unfortunately, I didn’t have figures in my head, and the other person told me that Sourceforge had 12,000 Java projects, and only 2,000 PHP projects.

This post is my attempt to pull together a whole load of stats on various programming languages.

My first jump from google’s search results was to TIOBE Programming Community Index, which lists programming languages based on the availability of skilled engineers, courses and third party vendors - a good indicator of the way the market is going.

TOIBE, as of today, report:

Position Mar 2006Position Mar 2005Delta in PositionProgramming LanguageRatings Mar 2006Delta Mar 2005Status
1210Down 2PL/SQL0.990%-0.68%A

It looks, according to these results, that PHP will soon take 3rd place from C++ in the “market demand” arena, while Java and C battle out for first, with twice the demand each.

While PHP’s own stats show a steady increase in the usage of PHP, it’s not obvious whether the graph indicates the number of installations of PHP, or actual usage. It might be argued that the two are approximately equal, as a shared hosting provider might install PHP once for all users of a single IP address, and many users would use PHP. This might balance out the dedicated servers that have PHP installed but run no applications that use PHP. In following their link to the NetStats Survey, from where these resutls are apparently taken, I was unable to find any information relating to PHP usage anywhere on the site.

Just for a bit of fun (and yes, this only counts web based language usage, sort of) I asked google how many php, asp, aspx and jsp pages it had in its index:

php: 1,360,000 asp: 277,000 jsp: 25,000 aspx: 13,500

Note: those numbers probably mean nothing! There may be 42,309,194 asp pages hidden from search engines. Developers might be naming their jsp files .php to confuse attackers.

Do you have any other stats sources?

Get updates in your inbox

I don't send many updates. I don't like to spam. Let's face it - I've not posted many new articles for a while (although I do plan on changing that). If you subscribe to new articles, I'll send no more than two emails a week. As for workshop and conference information, that'll be as and when I have details. It's not likely to be more than an email a week.

Tell me about

* indicates a required field