PHP Core
Case-Insensitive Constants
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.
Namespaced assert()
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.
Searching Strings for non-string Needle
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: