PHP 7.1.2今日正式發(fā)布,這次更新時隔日久,多項問題得到修復(fù),更強大的編程功能,更突出的網(wǎng)頁設(shè)計功能,PHP一直以來都是世界最流行的編程語言之一,服務(wù)器端大多采用PHP進行開發(fā),敬請體驗。
相關(guān)信息:
七年以來,PHP一直是第四大最流行的編程語言,驅(qū)動全球超過2億多個網(wǎng)站,全球超過81.7%的公共網(wǎng)站在服務(wù)器端采用PHP。PHP 7最大特色是極大地改進了性能,在一些WordPress基準(zhǔn)測試當(dāng)中,性能可以達(dá)到PHP 5.6的3倍。PHP 7包含了一些重大安全改進,如除去PHP安全模式,添加魔術(shù)引號,有一些新的保留關(guān)鍵字等等。
改進日志如下:
Core:
. Improved GENERATOR_CREATE opcode handler. (Bob, Dmitry)
. Fixed bug #73877 (readlink() returns garbage for UTF-8 paths). (Anatol)
. Fixed bug #73876 (Crash when exporting **= in expansion of assign op). (Sara)
. Fixed bug #73962 (bug with symlink related to cyrillic directory). (Anatol)
. Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester)
. Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe)
. Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester)
DOM:
. Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes). (aboks)
DTrace:
. Fixed bug #73965 (DTrace reported as enabled when disabled). (Remi)
FCGI:
. Fixed bug #73904 (php-cgi fails to load -c specified php.ini file). (Anatol)
. Fixed bug #72898 (PHP_FCGI_CHILDREN is not included in phpinfo()). (Anatol)
FPM:
. Fixed bug #69865 (php-fpm does not close stderr when using syslog). (m6w6)
GD:
. Fixed bug #73968 (Premature failing of XBM reading). (cmb)
GMP:
. Fixed bug #69993 (test for gmp.h needs to test machine includes). (Jordan Gigov)
Hash:
. Added hash_hkdf() function. (Andrey Andreev)
. Fixed bug #73961 (environmental build dependency in hash sha3 source). (krakjoe)
Intl:
. Fix bug #73956 (Link use CC instead of CXX). (Remi)
LDAP:
. Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache). (Laruence)
MySQLi:
. Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe)
Mysqlnd:
. Fixed bug #69899 (segfault on close() after free_result() with mysqlnd). (Richard Fussenegger)
Opcache:
. Fixed bug #73983 (crash on finish work with phar in cli + opcache). (Anatol)
OpenSSL:
. Fixed bug #71519 (add serial hex to return value array). (xrobau)
. Fixed bug #73692 (Compile ext/openssl with openssl 1.1.0 on Win). (Anatol)
. Fixed bug #73978 (openssl_decrypt triggers bug in PDO). (Jakub Zelenka)
PDO_Firebird:
. Implemented FR #72583 (All data are fetched as strings). (Dorin Marcoci)
PDO_PgSQL:
. Fixed bug #73959 (lastInsertId fails to throw an exception for wrong sequence name). (andrewnester)
Phar:
. Fixed bug #70417 (PharData::compress() doesn't close temp file). (cmb)
posix:
. Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh)
Session:
. Fixed bug #69582 (session not readable by root in CLI). (EvgeniySpinov)
SPL:
. Fixed bug #73896 (spl_autoload() crashes when calls magic _call()). (Dmitry)
Standard:
. Fixed bug #69442 (closing of fd incorrect when PTS enabled). (jaytaph)
. Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"). (Rowan Collins)
. Fixed bug #72974 (imap is undefined service on AIX). (matthieu.sarter)
. Fixed bug #72979 (money_format stores wrong length AIX). (matthieu.sarter)
. Fixed bug #73374 (intval() with base 0 should detect binary). (Leigh)
. Fixed bug #69061 (mail.log = syslog contains double information). (Tom Sommer)
ZIP:
. Fixed bug #70103 (ZipArchive::addGlob ignores remove_all_path option). (cmb, Mitch Hagstrand)