|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2016-02-12 20:25 UTC] kurt dot newman at cpanel dot net
Description: ------------ --- From manual page: http://www.php.net/migration70.removed-exts-sapis --- Per the UPGRADING document found in the PHP 7 tarball, mhash was removed: However, the PHP website doesn't depict the same information. ======================================== 9. Other Changes to Extensions ======================================== - Mhash Mhash is not an extension anymore, use function_exists("mhash") to check whether it is avaliable. - GD The bundled libgd requires libwebp instead of libvpx for the WebP functionality. - Openssl minimum supported OpenSSL version series was raised to 0.9.8 Expected result: ---------------- Expect to see mhash extension being removed in online docs PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 04:00:01 2025 UTC |
> Per the UPGRADING document found in the PHP 7 tarball, mhash was > removed That's not quite right. Actually, ext/mhash has already been integrated into ext/hash as of PHP 5.3.0, but it still had it's own module entry, so one could check for its presence with extension_loaded('mhash') As of PHP 7.0.0 only this module entry has been removed, so one has to use something like function_exists('mhash') to check whether the mhash functionality is available. Other than that there have been no changes (i.e. all mhash functions are still available if PHP is configured with --with-mhash). Since the PHP manual is currently supposed to document both PHP 5 and 7 we cannot easily move the respective documentation to the hash extension. It seems to me that it would be sufficient to document the special status of this "extensions" on its book's frontpage.