The following language features are
deprecated:
• Assignment of new by reference (since PHP
5.3; use normal assignment instead) REMOVED
• Scoped calls of non-static methods from
incompatible $this context (since PHP 5.6)
REMOVED
The following functions are deprecated:
• dl on fpm-fcgi (since PHP 5.3) REMOVED
• set_magic_quotes_runtime and
magic_quotes_runtime (since PHP 5.4) REMOVED
• set_socket_blocking (since PHP 5.4; use
stream_set_blocking instead) REMOVED
• mcrypt_generic_end (since PHP 5.4; use
mcrypt_generic_deinit instead) REMOVED
• mcrypt_ecb, mcrypt_cbc, mcrypt_cfb and
mcrypt_ofb (since PHP 5.5, but documented as
deprecated earlier; use mcrypt_encrypt and
mcrypt_decrypt instead) REMOVED
• datefmt_set_timezone_id and
IntlDateFormatter::setTimeZoneID (since PHP
5.5; use datefmt_set_timezone or
IntlDateFormatter::setTimeZone instead)
REMOVED
The following ini options are deprecated:
• xsl.security_prefs (since PHP 5.4; use
XsltProcessor::setSecurityPrefs instead)
REMOVED
The following miscellaneous functionality is
deprecated:
• The $is_dst parameter of the mktime() and
gmmktime() functions (since PHP 5.1) REMOVED
• # style comments in ini files (since PHP
5.3; use ; style comments instead) REMOVED
• String category names in setlocale() (since
PHP 5.3; use LC_* constants instead) REMOVED
• Unsafe curl file uploads (since PHP 5.5; use
CurlFile instead) REMOVED
• preg_replace() eval modifier (since PHP 5.5;
use preg_replace_callback instead) REMOVED
• PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STAT
EMENT driver option (since PHP 5.6; use
PDO::ATTR_EMULATE_PREPARES instead) REMOVED
• CN_match and SNI_server_name stream context
option (since PHP 5.6; use peer_name
instead) REMOVED