Re: What to do with opaque GMP objects which allows instantiation

From: Date: Fri, 30 Dec 2022 20:36:26 +0000
Subject: Re: What to do with opaque GMP objects which allows instantiation
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-119217@lists.php.net to get a copy of this message
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. Best regards Tim Düsterhus

« previous php.internals (#119217) next »