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

PHP 7.0.1 wurde am 17.12.2015 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
Format String Vulnerability in Class Name Error Message
Compile fails on system with 160 CPUs
symbol referencing errors on Sparc/Solaris
When using parentClass:: instead of parent::, static context changed
Segfault when combining error handler with output buffering
Weird error handling for __toString when Error is thrown
Invalid opcode while using ::class as trait method paramater default value
try{ } finally{} can create infinite chains of exceptions
Two errors messages are in conflict
yield from incorrectly marks valid generator as finished
buildconf failure in extensions
SAPI build problem on AIX: Undefined symbol: php_register_internal_extensions
Fixed int (or generally every scalar type name with leading backslash) to not be accepted as type name
Fixed exception not being thrown immediately into a generator yielding from an array
static::class within Closure::call() causes segfault
Incorrect exception handler with yield from
Fixed double free in error condition of format printer
CLI server
Segfault in php_cli_server_dispatch_router()
Intl
Use after free in Collator::sortWithSortKeys
Mysqlnd
LOAD DATA LOCAL INFILE / open_basedir restriction
(MySQLi does not provide way to disable peer certificate validation) by introducing MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT connection flag
OCI8
Fixed LOB implementation size_t/zend_long mismatch reported by gcov
Opcache
Unable to use PHP 7.0 x64 side-by-side with PHP 5.6 x32 on the same server
zend_file_cache.c:710: error: array type has incomplete element type
Segmentation fault with opcache.huge_code_pages=1
PDO_Firebird
Integer returned as a 64bit integer on X64_86
Phpdbg
Fixed stderr being written to stdout
Reflection
ReflectionProperty::setValue() behavior changed
setStaticPropertyValue behaviors inconsistently with 5.6
Soap
Array key references break argument processing
SPL
Undefined index with ArrayIterator
SQLite3
SQLite3Stmt::execute() releases bound parameter instead of internal buffer
Standard
php_random_bytes: called object is not a function
ReflectionFunction for array_unique returns wrong number of parameters
Neuerung
Streams/Socket
Add IPV6_V6ONLY constant / make it usable in stream contexts

Changelog Quelle php.net

Anzeige