PHP 7 Official Release

終於出左~

快成倍~
有無人做白老鼠??


http://www.zend.com/en/resources ... to-know-infographic

終於出左~

快成倍~
有無人做白老鼠??
zetalau 發表於 2015-12-4 10:23


what special is it?

TOP

PHP 7 will allow developers to declare what kind of return type a function is expected to have – similar to argument Type Hints.

In addition, argument type hints and the new return-type declarations now support new scalar types, allowing developers to denote that they're expecting strings, floats, ints or bools to be passed or returned.

TOP

有冇JAVA VS PHP VS NODE.JS   benchmark 睇下

TOP

http://www.ithome.com.tw/news/99374
http://www.ithome.com.tw/news/96105

好似話快一倍,不過php library/module係咪 single thread?,另外,好多php網頁都唔需要大量運算,database I/O intensive,如果database行得更快,網頁反應先更快。

TOP

本帖最後由 梁炳 於 2015-12-4 13:21 編輯
好似話快一倍,不過php library/module係咪 single thread?,另外,好多php網頁都唔需要大量運算,data ...
passerby 發表於 2015-12-4 11:16


php唔係只得網頁仔
有好多複雜既php系統都可以hit到php既樽頸
Wordpress, drupal, composer, Zend/CodeIgniter/Symfony/Laravel apps

計hash, copy file, string process, image process 等等 係現代web app入面好common
個runtime快d, 點都係好事

TOP

Does php7 support mult-thread?

TOP

用java寫網頁,只有大量運算情況下先適用,靈活易變,開發快,都係用php,次選將來流行可能係Node.js。

其實當browser javascipt都優化得極快,作為web server scripting language的php跑得唔夠快係唔合理,始終呢個世上跑 php 網頁都唔少。

當script language都可以跑得好快,好多野就唔會用更複雜static type language寫,php寫幾句code,java要寫幾句code?,硬件唔值錢,但寫人工時間值錢,當加多一台server加快硬件速度會平過請過用java o既人去寫,就算用java可以行快幾成、幾倍都無用,因為成本唔夠平。

TOP

回覆 8# passerby

如果啲野唔洗 Maintain ,用一兩個月

weak typed
dynamic typing

做開發係好爽皮

相反 Maintain cost 一樣好貴

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP