简体   繁体   中英

What is the green version of php?

I am not sure whether it is appropriate to ask such question here. But I wonder what this green version of php means. I saw the term around the internet after PHP 7 was released, but I did not see any explanation on why PHP 7 was called Green Version of PHP.

One reason is that the efficiency of the language has been improved eg in terms of reduced CPU cycles and better memory management. When you are running a large website, this equates to less servers needed to run your site, which means lower electricity bills and so is better for the environment (and your profit margin :)). See eg http://www.infoworld.com/article/2912902/php/coming-soon-php-7-and-its-a-scorcher.html

The new version features engine improvements, lower memory usage, and native local thread storage. In fact, PHP 7's reduced need for servers makes it the environmentally sound choice, Lerdorf stressed. "Just in terms of being green, PHP 7 should pretty much be an essential upgrade for anybody who is running a lot of servers."

可能是因为受支持的版本页面@ php.net上支持的版本的颜色为绿色。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM