The highly used PHP5.6 version will stop security support on December 31, 2018, which also declares that PHP5 will stop update support at the end of 2018, and 60% of PHP users will face security issues risk.
According to PHP official data: PHP 5.6 was released in 2014, main support was closed on January 19, 2017, and security support will be closed in December 2018 Ends on March 31st. Websites using PHP version 5.6 will no longer receive updates for security vulnerabilities or errors unless the user pays for an update service from the operating system vendor. (Quoted here from the PHP official website)
In fact, the major and security update period of PHP 5.6 has ended long ago, but due to the large number of websites used, the PHP maintenance organization once extended its support time respectively. (Recommended learning:PHP Programming from Beginner to Mastery)
Hearing this news, I believe that many people in the PHP industry feel a lot of pressure instantly, and even feel that PHP has no future. In fact, There is no need to be so pessimistic. Many people say that PHP will not work if PHP5 is not updated, but they never mention the performance of the latest version of php7!
Since 2015, the official has been recommending that everyone upgrade to php7 as soon as possible. PHP7 has brought revolutionary performance improvements, such as 64-bit support, type declarations, and runtime optimizationwait.
According to the latest W3techs statistics, PHP 7 currently accounts for more than 17.4% of PHP's share; overall, PHP still has an overwhelming proportion of approximately 83% of website server-side development languages.
Everyone knows that PHP7 was claimed to be twice as fast as PHP5.6 when it was released. So what is the performance of PHP7.3? The above test results found that in the commonly used PHPBench benchmark test, PHP7.3.0 Alpha1 is about 7% faster than the current PHP7.2 stable version and 22% faster than PHP7.0; which is equivalent to PHP7.3 being more than 3 times faster than PHP5!
Especially the PHP7 Swoole program for stress testing (picture below). In the benchmark test of 1 million concurrent HTTP requests, PHP7 Swoole performed 75% better than Nginx/Golang. With Swoole, you can also use PHP to implement service management, asynchronous, and long connection systems.
PHP officials have made performance the first priority requirement since version 7; and PHP officials are still developing JIT features. In the future, the performance of PHP language will be no worse than Java ! Besides, Java has already started to charge. When have our Chinese people ever used paid software? PHP open source is the way to go.
The above is the detailed content of Why does php stop updating?. For more information, please follow other related articles on the PHP Chinese website!