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

PHP 7.0.7 wurde am 26.05.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
use-after-free - error_reporting
crash on complex code
implode() inserts garbage into resulting string when joins very big integer
PHP Hangs when using custom error handler and typehint
Function calls with values to a by-ref parameter don't always throw a notice
Memory leak in closure with parameter named $this
?? is not allowed on constant expressions
Imported Class Overrides Local Class Name
Curl
Define CURLE_SSL_CACERT_BADFILE
DBA
use-after-free caused by dba_open
GD
imagescale out-of-bounds read
Intl
Add intl.use_exceptions to php.ini-*
get_icu_value_internal out-of-bounds read
JSON
Behavior JsonSerializable different from json_encode
Mbstring
Null Pointer Dereference - mb_ereg_replace
OCI8
oci_fetch_all segfaults when selecting more than eight columns
Opcache
Including a file with anonymous classes multiple times leads to fatal error
OpenSSL
Null pointer dereference - openssl_csr_new
PCNTL
pcntl_wait/pcntl_waitpid array internal structure overwrite
POSIX
php_posix_group_to_array crashes if gr_passwd is NULL
Postgres
pg_query_params(): NULL converts to empty string
pg_convert() doesn't accept ISO 8601 for datatype timestamp
mysqli_fetch_object changed behaviour
Reflection
ReflectionProperty#getValue() causes __isset call
Session
Cyclic references causing session_start(): Failed to decode session object
SPL
The reference in CallbackFilterIterator doesn't work as expected
SQLite3
bindValue is not using the right data type
Standard
Referencing socket resources breaks stream_select
array_column() against an array of objects discards all values matching null
Neuerung
Core
Add compiler option to disable special case function calls
Sockets
Added socket_export_stream() function for getting a stream compatible resource from a socket resource

Changelog Quelle php.net

Anzeige