Categories

Super User by Super User, 6 years ago
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.