Deprecated FeaturesPHP CoreCase-Insensitive Constants
The declaration of case-insensitive constants has been deprecated. Passing
Namespaced assert()
Declaring a function called Searching Strings for non-string NeedlePassing 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:
Strip-Tags StreamingThe fgetss function and the string.strip_tags stream filter have been deprecated. This also affects the SplFileObject::fgetss method and gzgetss function. Data Filtering
The explicit usage of the constants
Image Processing and GDimage2wbmp has been deprecated. Internationalization Functions
Usage of the Multibyte String
The following undocumented
ODBC and DB2 Functions (PDO_ODBC)The pdo_odbc.db2_instance_name ini setting has been formally deprecated. It is deprecated in the documentation as of PHP 5.1.1. |