PHP 7.0.2 正式版發布

來源:互聯網
上載者:User
七年以來,PHP一直是第四大最流行的程式設計語言,驅動全球超過2億多個網站,全球超過81.7%的公用網站在伺服器端採用PHP。PHP在這個星期有了自2004年以來最大的飛躍,因為PHP 7已經發布。 PHP 7最大特色是極大地改進了效能,在一些WordPress基準測試當中,效能可以達到PHP 5.6的3倍。

下載地址:

PHP 7.0.2 Final for Windows 32-bit (14.59 MB)

PHP 7.0.2 Final for Windows 64-bit (14.59 MB)

PHP 7.0.2 Final for Linux (10.52 MB)

PHP 7還有其他一些比較小的改進,比如顯著減少記憶體使用量,添加傳回型別聲明等等功能。PHP 7包含了一些重大安全改進,如除去PHP安全模式,添加魔術引號,有一些新的保留關鍵字等等。這意味著像WordPress等Web應用程式需要局部重新設計,以便為PHP 7發布做好準備,現在WordPress看起來已經完全相容PHP 7。

雖然PHP 7已經發布,但是廣泛採用還需要數年之久,Web應用,特別是針對企業的Web應用,要花費幾年時間才能升級到新版本平台。然而,很多Web開發人員都認為,PHP 7巨大的效能改進對他們很有吸引力。

Version 7.0.2

07 Jan 2016

  • Core:

    • Fixed bug #71165 (-DGC_BENCH=1 doesn't work on PHP7).

    • Fixed bug #71163 (Segmentation Fault: cleanup_unfinished_calls).

    • Fixed bug #71109 (ZEND_MOD_CONFLICTS("xdebug") doesn't work).

    • Fixed bug #71092 (Segmentation fault with return type hinting).

    • Fixed bug memleak in header_register_callback.

    • Fixed bug #71067 (Local object in class method stays in memory for each call).

    • Fixed bug #66909 (configure fails utf8_to_mutf7 test).

    • Fixed bug #70781 (Extension tests fail on dynamic ext dependency).

    • Fixed bug #71089 (No check to duplicate zend_extension).

    • Fixed bug #71086 (Invalid numeric literal parse error within highlight_string() function).

    • Fixed bug #71154 (Incorrect HT iterator invalidation causes iterator reuse).

    • Fixed bug #52355 (Negating zero does not produce negative zero).

    • Fixed bug #66179 (var_export() exports float as integer).

    • Fixed bug #70804 (Unary add on negative zero produces positive zero).

  • CURL:

    • Fixed bug #71144 (Sementation fault when using cURL with ZTS).

  • DBA:

    • Fixed key leak with invalid resource.

  • Filter:

    • Fixed bug #71063 (filter_input(INPUT_ENV, ..) does not work).

  • FTP:

    • Implemented FR #55651 (Option to ignore the returned FTP PASV address).

  • FPM:

    • Fixed bug #70755 (fpm_log.c memory leak and buffer overflow).

  • GD:

    • Fixed bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds).

  • Mbstring:

    • Fixed bug #71066 (mb_send_mail: Program terminated with signal SIGSEGV, Segmentation fault).

  • Opcache:

    • Fixed bug #71127 (Define in auto_prepend_file is overwrite).

  • PCRE:

    • Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set).

  • Readline:

    • Fixed bug #71094 (readline_completion_function corrupts static array on second TAB).

  • Session:

    • Fixed bug #71122 (Session GC may not remove obsolete session data).

  • SPL:

    • Fixed bug #71077 (ReflectionMethod for ArrayObject constructor returns wrong number of parameters).

    • Fixed bug #71153 (Performance Degradation in ArrayIterator with large arrays).

  • Standard:

    • Fixed bug #71270 (Heap BufferOver Flow in escapeshell functions).

  • WDDX:

    • Fixed bug #70661 (Use After Free Vulnerability in WDDX Packet Deserialization).

    • Fixed bug #70741 (Session WDDX Packet Deserialization Type Confusion Vulnerability).

  • XMLRPC:

    • Fixed bug #70728 (Type Confusion Vulnerability in PHP_to_XMLRPC_worker).

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.