Deprecated Features
PHP Core
Saner Increment/Decrement operators
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.
DBA
Calling dba_fetch() with dba as
the 3rd argument is now deprecated.
Intl
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.
LDAP
Calling ldap_connect() with separate
hostname and port is
deprecated.
Phar
Calling Phar::setStub() with a
resource and a length
is now deprecated. Such calls should be replaced by:
$phar->setStub(stream_get_contents($resource));
SQLite3
Using exceptions is now preferred, warnings will be removed in the future.
Calling SQLite3::enableExceptions(false) will trigger a
deprecation warning in this version.