Deprecated language features are those that have been retained temporarily for backward compatibility, but which will eventually be removed from the language. In effect, deprecation announces a grace period to allow the smooth transition from the old features to the new ones. In that period, no use of the deprecated features should be added to the code, and all existing uses should be gradually removed.


This rule raises an issue for the following functions, which were deprecated in PHP 5.5:


||Deprecated||Use Instead||

|``++preg_replace()++``|``++preg_replace_callback()++``|

|``++IntlDateFormatter::setTimeZoneID()++``|``++IntlDateFormatter::setTimeZone()++``|

|``++datefmt_set_timezone_id()++``|``++datefmt_set_timezone()++``|

|``++mysql_*++``|``++MySQLi++`` or ``++PDO_MySQL++`` extensions|

|``++mcrypt_cbc()++``||

|``++mcrypt_cfb()++``||

|``++mcrypt_ecb()++``||

|``++mcrypt_ecb()++``||



ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]
