First, yes, I blatantly ripped the title of this post off of Jordi’s blog post. He didn’t have to good sense to use it as the title, so I thought I would. PHP Versions Stats – 2016.2 Edition.
Now that we’ve got that out of the way, Jordi Boggiano has compiled PHP version usage statistics for 2016 for us to peruse. He did this earlier this year as well so we can compare May stats with his traditional November stats. How, I hear you ask, can he reliably collect such data? Here is a quote for the post that explains how he collects the data.
A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the packagist.org logs of the last 28 days for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that to see which PHP versions people are using Composer with.
It’s not quite on the level of the NSA spying, but it is interesting to know that “Jordi Is Watching”.
Conspiracies aside, Jordi does a nice job of giving readers a quick overview of the versions of PHP that are being used and the changes that 6 months make. He’s created several nice pie charts for you to look at to compare and contract. It would have been nice to see the data groups by MAJOR PHP version as well as MAJOR.MINOR, but now I am being nit-pickey.
SPOILER ALERT: PHP 7.x is growing nicely. :)
Photo Credit: Stole it from Jordi’s blog post.