Doc #71579 [Opn->Ana]: mhash was removed but not documented online
Edit report at https://bugs.php.net/bug.php?id=71579&edit=1
ID: 71579
Updated by: cmb@php.net
Reported by: kurt dot newman at cpanel dot net
Summary: mhash was removed but not documented online
-Status: Open
+Status: Analyzed
Type: Documentation Problem
Package: mhash related
Operating System: Linux
PHP Version: 7.0.3
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> 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.
Previous Comments:
------------------------------------------------------------------------
[2016-02-12 20:25:42] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71579&edit=1
Thread (3 messages)