On Fri, Dec 30, 2022, at 2:36 PM, Tim Düsterhus wrote: > Hi > > On 12/30/22 18:36, G. P. B. wrote: >> - Add a proper constructor that does the same as gmp_init() in master/8.2.1 > > My preference would be this (without any target branch preference): > > If there is no technical reason to disallow creating new GMP objects via > 'new', then I believe that making those objects behave more like > "regular" / "userland" objects is a good thing.
I concur. If I'm supposed to use it as an object, let me use it as an object. I defer to the relevant release managers as to what versions it should be fixed in, but I agree this is the right fix. --Larry Garfield -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php