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

PHP 7.0.17 wurde am 30.03.2017 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
PHP 7.1 Segfaults within Symfony test suite
Out of bound read - zend_mm_alloc_small
Performance problem with processing large post request
array_key_exists fails on arrays created by get_object_vars
NAN check fails on Alpine Linux with musl
is_infinite(-INF) returns false
Generating phar.phar core dump with gcc ASAN enabled build
Apache
Incomplete POST does not timeout but is passed to PHP
Date
Relative datetime format ignores weekday on sundays only
DateTime wrong when date string is negative
wrong timestamp when call setTimeZone multi times with UTC offset
first/last day of' flag is not being reset
$date->modify('Friday this week') doesn't return a Friday if $date is a Sunday
wrong day when using "this week" in strtotime
FPM
php-fpm process accounting is broken with keepalive
Hash
gost-crypto hash incorrect if input data contains long 0xFF sequence
GD
ReflectionFunction for imagepng is missing last two parameters
Mysqlnd
fetch_array broken data. Data more then MEDIUMBLOB
Opcache
if statement says true to a null variable
Segfault with list
OpenSSL
PHP Fast CGI crashes when reading from a pfx file
Standard
ReflectionFunction incorrectly reports the number of arguments
mail.add_x_header causes RFC-breaking lone line feed
is_callable callable name reports misleading value for anonymous classes
PHP on Linux should use /dev/urandom when getrandom is not available
Streams
Invalid memory access in zend_inline_hash_func
stream_get_contents maxlength>-1 returns empty string

Changelog Quelle php.net

Anzeige