Sie sind hier: PHP-Versionen > PHP 7 > PHP 7.0

PHP 7.0.5 wurde am 31.03.2016 herausgebracht. Im folgenden erhalten Sie einen kurzen Überblick welche Änderungen in diesem Patch enthalten waren. Bei Interesse kann auch das ausführliche Änderungsprotokoll eingesehen werden.

Fehlerbehebung
Core
Call-by-reference widens scope to uninvolved functions when used in switch
Possible crash in zend_bin_strtod, zend_oct_strtod, zend_hex_strtod
Global variables are reserved before execution
Out-of-bounds access in php_url_decode in context php_stream_url_wrap_rfc2397
Strings used in pass-as-reference cannot be used to invoke C::$callable()
Segmentation fault on ZTS with date function (setlocale)
Integer overflow in zend_mm_alloc_heap()
Leaked 1 hashtable iterators
ISO C does not allow extra ‘;’ outside of a function
yield from does not count EOLs
ReflectionMethod::getDocComment returns the wrong comment
php_strip_whitespace() fails on some numerical values
`php -R` (PHP_MODE_PROCESS_STDIN) is broken
CLI Server
Support MKCALENDAR request method
Curl
Support constant CURLM_ADDED_ALREADY
Date
DatePeriod::getEndDate segfault
Fileinfo
Buffer over-write in finfo_open with malformed magic file
libxml
Access Violation crashes php-cgi.exe
mbstring
AddressSanitizer: negative-size-param (-1) in mbfl_strcut
ODBC
Executing prepared statements is succesfull only for the first two statements
PCRE
segmentation fault in pcre running twig tests
PDO_DBlib
PDO::MSSQL forces format of datetime fields
Phar
Crash in php7.dll with bad phar filename
PharData fails to open specific file
Invalid memory write in phar on filename with in name
phpdbg
Fixed crash when advancing (except step) inside an internal function
Session
Null pointer dereference in zend_hash_str_find_bucket
SNMP
php_snmp_error() Format String Vulnerability
SPL
private properties lost when unserializing ArrayObject
Standard
array_column behaves incorrectly after foreach by reference
Integer Overflow in php_raw_url_encode
Neuerung
Core
Huge pages disabled by default
Added ability to enable huge pages in Zend Memory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=1
Zip
Update bundled libzip to 1.1.2

Changelog Quelle php.net

Anzeige