PHP 7.4: Hash extension is now bundled
The Hash extension, which provided functions such as hash, hash_hmac, etc. is now bundled with PHP.
From PHP 7.4 and later, it is no longer possible to exclude the Hash extension in compilation configuration.
Backwards Compatibility Impact
The --disable-hash option in the ./configure script is removed, as it is now always enabled. Attempting to use the --disable-hash option emits a warning.
Note that the mhash compatibility functions, enabled with --enable-mhash configuration option is not removed.
Related Changes
- PHP 8.1:
mhash*()functions (hash extension) are deprecated - PHP 8.0: JSON extension is always available