Re: State of mhash?
| From: | Christoph M. Becker | Date: | Wed, 18 Sep 2019 11:39:09 +0000 |
| Subject: | Re: State of mhash? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107201@lists.php.net to get a copy of this message | ||
On 17.09.2019 at 16:25, Nikita Popov wrote:
#
> I just noticed that the hash extension has a default-disabled --with-mhash
> option, that enables a couple of additional mhash_* functions. From what I
> was able to gather, mhash was an old extension that was superseded by hash,
> and hash provides a compatibility layer for mhash.
>
> Should these functions be deprecated? Should this compatibility layer be
> kept indefinitely?
The documentation[1] states for more than ten years now:
| This extension is obsoleted by Hash.
So I think actually deprecating these functions for PHP 8 is appropriate.
[1] <https://www.php.net/manual/en/intro.mhash.php>
--
Christoph M. Becker