|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71579 mhash was removed but not documented online
Submitted: 2016-02-12 20:25 UTC Modified: 2017-09-12 13:13 UTC
From: kurt dot newman at cpanel dot net Assigned: cmb (profile)
Status: Closed Package: mhash related
PHP Version: 7.0.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kurt dot newman at cpanel dot net
New email:
PHP Version: OS:


 [2016-02-12 20:25 UTC] kurt dot newman at cpanel dot net
From manual page:

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 13:18 UTC]
-Package: Documentation problem +Package: mhash related
 [2017-09-12 12:49 UTC]
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: cmb
 [2017-09-12 12:49 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


As of PHP 7.0.0 only this module entry has been removed, so one
has to use something like


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
 [2017-09-12 13:13 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix bug #71579 (mhash was removed but not documented online)
 [2017-09-12 13:13 UTC]
-Status: Analyzed +Status: Closed
 [2017-09-12 13:13 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of cmb
Log: Fix bug #71579 (mhash was removed but not documented online)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Mar 04 22:01:30 2024 UTC