The following ini Directives have been added to customize logging, if error_log is set to syslog:
The cyclic GC has been enhanced, which may result in considerable performance improvements.
var_export() now exports stdClass
objects as an array cast to an object (
(object) array( ... )), rather
than using the nonexistent method stdClass::__setState().
The unused constants
PHPDBG_FUNC have been removed.
The getallheaders() function is now also available.
libcurl ≥ 7.15.5 is now required.
FILTER_VALIDATE_FLOAT now also supports a thousand
option, which defines the set of allowed thousand separator chars. The default
"',.") is fully backward compatible with former PHP versions.
FILTER_SANITIZE_ADD_SLASHES has been added as an alias of the
magic_quotes filter (
The magic_quotes filter is subject to removal in future versions of PHP.
The default transfer mode has been changed to binary.
Normalizer::NONE is deprecated, when PHP is linked with
ICU ≥ 56.
Normalizer::normalize() argument for
NFKC_Casefold normalization; available when linked with
ICU ≥ 56.
A new flag has been added,
can be used with json_decode() or
json_encode() and causes these functions to throw the new
JsonException upon an error, instead of setting the
global error state that is retrieved with
json_last_error() and json_last_error_msg().
JSON_PARTIAL_OUTPUT_ON_ERROR takes precedence over
The configuration option --with-libmbfl is no longer available.
Support for ODBCRouter and Birdstep including the birdstep.max_links ini directive has been removed.
The opcache.inherited_hack ini directive has been removed. The value has already been ignored since PHP 5.3.0.
The min_proto_version and max_proto_version ssl stream options as well as related constants for possible TLS protocol values have been added.
The PCRE extension has been upgraded to PCRE2, which may cause minor behavioral changes (for instance, character ranges in classes are now more strictly interpreted), and augments the existing regular expression syntax.
preg_quote() now also escapes the '#' character.
PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS to enable automatic
skipping of empty rowsets has been added.
PDO::DBLIB_ATTR_TDS_VERSION attribute which exposes
the TDS version has been added.
DATETIME2 columns are now treated like DATETIME columns.
SQLite3 databases can now be opened in read-only mode by setting the
PDO::SQLITE_ATTR_OPEN_FLAGS attribute to
session_set_cookie_params() now also supports the following signature:
$options) : bool
The return value of the xml_set_external_entity_ref_handler() callback is now also heeded if the extension has been built against libxml. Formerly, the return value has been ignored, and parsing did never stop.
Building against the bundled libzip is discouraged, but still possible by adding --without-libzip to the configuration.
The zlib/level context option for the compress.zlib wrapper to facilitate setting the desired compression level has been added.