Using the increment operator (++
) on empty, non-numeric, or non-alphanumeric strings is now deprecated. Moreover, incrementing non-numeric strings is soft deprecated. That means no E_DEPRECATED
diagnostic is emitted, but this feature should not be used when producing new code. The new str_increment() function should be used instead.
Using the decrement operator (--
) on empty or non-numeric strings is now deprecated.
Calling get_class() and get_parent_class() without arguments is now deprecated.
Calling dba_fetch() with $dba
as the 3rd argument is now deprecated.
Calling FFI::cast(), FFI::new(), and FFI::type() statically is now deprecated.
The U_MULTIPLE_DECIMAL_SEP*E*RATORS
constant had been deprecated, using the U_MULTIPLE_DECIMAL_SEP*A*RATORS
constant instead is recommended.
The NumberFormatter::TYPE_CURRENCY
constant has been deprecated.
Calling ldap_connect() with separate $hostname
and $port
is deprecated.
Passing a negative $width
to mb_strimwidth() is now deprecated.
Calling Phar::setStub() with a resource and a $length
is now deprecated. Such calls should be replaced by: $phar->setStub(stream_get_contents($resource));
The MT_RAND_PHP
Mt19937 variant is deprecated.
Calling ReflectionProperty::setValue() with only one parameter is deprecated. To set static properties, pass null
as the first parameter.
The assert_options() function is now deprecated.
The ASSERT_ACTIVE
, ASSERT_BAIL
, ASSERT_CALLBACK
, ASSERT_EXCEPTION
, and ASSERT_WARNING
constants have been deprecated.
The assert.*
INI settings have been deprecated. See the Changes to INI File Handling page for further details.
Using exceptions is now preferred, warnings will be removed in the future. Calling SQLite3::enableExceptions(false)
will trigger a deprecation warning in this version.
The ZipArchive::FL_RECOMPRESS
constant is deprecated and will be removed in a future version of libzip.