2014年12月8日 星期一

PHP6可能新增/刪除的功能

可能刪除的:
magic_quotes, register_globals, register_long_arrays, safe_mode


******************************************************
PHP6可能新增以下的功能(有些內容是猜的,只供參考,不負責任):
參考網址:https://wiki.php.net/ideas/php6


1. OpCache integration
    OpCache整合 (提昇對PHP的opcode處理,進行暫存和優化,可以提高PHP程式的執行速度)

2. Improved and actual 64bit support
    改善對64位環境的支持

3. Unicode support
    支持Unicode

4. internals API Cleanup
    難用、不友善的API 清除

5. Warning free code
    跟Command Line 有關的警示方面,變成free code ? (不怎麼懂)

    CI finally became a critical part of our release process. Between travis, OSTC tests lab or gcov:

    http://windows.php.net/downloads/snaps/ostc/pftt/
    http://ci.qa.php.net/
    http://gcov.php.net/

6. Improve OPcodes, compilation and runtime (perf, features, jit, fixed address jump usage, etc)
    改善三種時期的效率:OPcodes、編譯時、執行時

7. JIT compiler (libjit?)
    JIT編譯器的提供。(大約是指執行時之腳本編譯速度增快事項?)

8. Annotation Support
    支持Annotation。(大約是說明、註解方面的功能增進?)

9. Named argument
    已命名參數...(做什麼的?)

10. Scalar Type hinting
    不同等級的類型提示

11. HTTP2 support (avoid our own implementation, nghttp2?)
    http2 版本的支援 (避免自己閉門造車,是指 nghttp2 嗎? )

12. Reliable, userfriendly RNG APIs (internally and userland)
    更可靠、友好的RNG APIs (互相間及使用者方面)
   
13. Getter/Setter
    新的Getter/Setter

14. Userland APIs improvement for all PHP types (OO instead of breaking BC)
    全部PHP之更簡易的用戶級程式介面增進

15. C++ Usage
    延用C++已有的語法

16. inclusion of the new crypto extension (maybe support other backends than openssl)
    增強新的加密功能 (可能支援各類後端處理方式,用來取代 openssl 架構,因為openssl 這幾年出的安全狀況不少)

17. bundle pecl's http (add http2 support too)
    整合 PECL 的http架構/程式庫 (也包括其 http2 的功能部份)