Since 2014, Private Packagist co-founder Jordi Boggiano has been writing semi-annual reports on the usage of various PHP versions. He gets the database from the Composer installation on packagist.io. Starting in May 2019, PHP 7.3 has replaced the winner PHP 7.2 in November 2019.
(© Shutterstock / Khakimullin Aleksandr)
Twice a year since 2014, Jordi Boggiano, co-founder of Private Packagist, has searched for the most commonly used versions of the PHP programming language. We looked at the results of the recently released PHP Version Stats 2019.2 from November 2019.
PHP 7.3 is one of the most commonly used PHP versions
In May 2019, PHP 7.2 accounted for 39.3% of the answers as the most popular version. In November 2019, PHP 7.3 took the lead. In May, PHP 7.3 usage was 15.5%. In November 2019, a growth of 19.89% was seen, making PHP 7.3 the current most popular PHP version at 35.2%.
PHP versions released in November 2019 and May 2019 (Source: https://blog.packagist.com/php-versions-stats-2019-2- edition/)
The community stated that support for version 5.x ended on December 31, 2018. According to statistics, 9% of people are still using the outdated and no longer supported version 5.x.
PHP 7.1 was recently discontinued on December 1, 2019 (as reported). In November 2019, 15.3% of users were still using this version. Compared to May 2019 results, usage decreased by 10.32%.
The latest version of PHP, 7.4, did not appear until November 2019. According to statistics, the value here is 2.92% and is trending upward.
PHP Version Statistics 2019.2: Database
Jordi Boggiano extracts data from Composer installations from logs on packagist.org. Because the User-Agent writer uses headers to indicate to the user which version of PHP the writer is using. The CI environment is not considered. In this regard, this is only a subset of the PHP user base.
This article is a translation, the original English address:
https://entwickler.de/online/php/php-versions-stats-2019-2-579917707.html
The above is the detailed content of Most used PHP version: PHP 7.3 replaces 7.2. For more information, please follow other related articles on the PHP Chinese website!