Re: Re: State of mhash?

From: Date: Wed, 18 Sep 2019 15:17:50 +0000
Subject: Re: Re: State of mhash?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-107209@lists.php.net to get a copy of this message
On Wed, Sep 18, 2019 at 6:39 AM Christoph M. Becker <cmbecker69@gmx.de> wrote: > > On 17.09.2019 at 16:25, Nikita Popov wrote: > > 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. > Given that the mhash compatability shim is literally just "map this function and args to that function and args", this one feels like a no-brainer. Anyone who can't upgrade because of /this/ change can literally just drop a single (short) PHP script into their program to polyfill those APIs. It would be a kindness for someone to provide that, and if nobody else does I may just drop a package on composer in the new few months. +1 -Sara

« previous php.internals (#107209) next »