The declaration of case-insensitive constants has been deprecated. Passing
true
as the third argument to define() will now generate a
deprecation warning. The use of case-insensitive constants with a case that
differs from the declaration is also deprecated.
Declaring a function called assert()
inside a namespace is
deprecated. The assert() function is subject to special
handling by the engine, which may lead to inconsistent behavior when defining
a namespaced function with the same name.
Passing a non-string needle to string search functions is deprecated. In the future the needle will be interpreted as a string instead of an ASCII codepoint. Depending on the intended behavior, you should either explicitly cast the needle to string or perform an explicit call to chr(). The following functions are affected:
The fgetss() function and the string.strip_tags stream filter have been deprecated. This also affects the SplFileObject::fgetss() method and gzgetss() function.
The explicit usage of the constants
FILTER_FLAG_SCHEME_REQUIRED
and
FILTER_FLAG_HOST_REQUIRED
is now deprecated; both are
implied for FILTER_VALIDATE_URL
anyway.
image2wbmp() has been deprecated.
Usage of the Normalizer::NONE
form throws a deprecation
warning, if PHP is linked with ICU ≥ 56.
The following undocumented mbereg_*()
aliases have been
deprecated. Use the corresponding mb_ereg_*()
variants
instead.
The pdo_odbc.db2_instance_name ini setting has been formally deprecated. It is deprecated in the documentation as of PHP 5.1.1.