Uploaded March 2016 | Updated September 2026, 3 weeks ago
Array constants can now be defined with define(). In PHP 5.6, they could only be defined with const.
Array constants can now be defined with define(). In PHP 5.6, they could only be defined with const.



![Deprecated features of PHP7
[DEPRICTAED] Style constructors
PHP 4 style constructors (methods that have the same name as the class they are defined in) are deprecated. PHP 7 will return an E_DEPRECATED please only use the construct() method.
[DEPRICATED] Static calls to non-static methods
Static calls to methods that are not declared static are deprecated, and may be removed in the future.
[DEPRICATED] Password hash
The salt option for the password_hash() function has been deprecated to prevent developers from generating their own (usually insecure) salts. The function itself generates a cryptographically secure salt when no salt is provided by the developer - therefore custom salt generation should not be needed.
[DEPRICATED] Capture session meta data
The capture_session_meta SSL context option has been deprecated. SSL metadata is now available through thestream_get_meta_data() function. Deprecated features of PHP7](https://i.ytimg.com/vi/sioobwq0TAk/mqdefault.jpg)






