Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119222 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69108 invoked from network); 1 Jan 2023 18:20:51 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Jan 2023 18:20:51 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CF2C0180087 for ; Sun, 1 Jan 2023 10:20:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29838 64.147.123.0/24 X-Spam-Virus: No X-Envelope-From: Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 1 Jan 2023 10:20:50 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3EC47320031A for ; Sun, 1 Jan 2023 13:20:48 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute4.internal (MEProxy); Sun, 01 Jan 2023 13:20:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm2; t=1672597247; x=1672683647; bh=/d6BqiqWTz3E80cO6jvoI6WJY Mc47SxCeA9n7lrfPO4=; b=JbcVbGAHwxAf+l9kiPI3wuCmwiYqdfyIXqgdZNUI3 r7Y29x2m+qdStI0g+AzazSL98dRoA/sRIHcwxqHWSoQhTfiKANTDAZ46rRTeXdj/ iakFrcDBz+ma6LejrXJ/K9dBwz45kUVpXGuxwxPmCv7wgi1igCqtpQ3xJcnOFmMI n7NlTaDMb4+Yc6/etZEE3sWycM5PJfeOp2q+VA3W1YtYVEHOkMnNf2WpT34B1VBJ zlmRv3ByqAlXuXfYWZoAf+uqMaDoXdf3pr47Q04FBHgRrioig5idIpnGQSsjVU9g qDrasAgENy57PuRYlQSRxhbOOZuZXI2Whq63UObQHQ4mg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1672597247; x=1672683647; bh=/ d6BqiqWTz3E80cO6jvoI6WJYMc47SxCeA9n7lrfPO4=; b=txorP+waUIWaPj1FJ cOBuxJsrLfFlASs++EBALw1QZ4fBB32JY3exA/0MIQop/j74lA2C2jtqDtDPtrQR KMv2KwwRV7/42mxNLlQQJEV+GRfgGu7Q6+VxBShqHaFc8PcBmJyuS4Fwf2PypOgt NiEwkjSdO806XuAy5lyAzvCN/7Lsi3aHJsJUvwVkGIr92K/JU1C+851exyvMxuds JAeeFWhmbNBivJKj+537rkSmS8msRbWDltOSkgPEMzcOkTWS/Dd/UwtNGA01+/Od iYMqCPign+g7Hh7wzHUynydn2OpgWPSaBvmmE3aVJ4LN+pRkAmqmocypdddwQdxz SY80Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrjedtgddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfnfgr rhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homheqnecuggftrfgrthhtvghrnhepffffffejffdugfegvedviedttedvgfejffefffej leefjeetveehgefhhfdvgfelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7F7F71700089; Sun, 1 Jan 2023 13:20:47 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-ID: <621cadc6-aa82-4d3f-9094-bf0ecaa89ff7@app.fastmail.com> In-Reply-To: <97df3b41-316e-0f83-09ce-d1d416eb7616@bastelstu.be> References: <97df3b41-316e-0f83-09ce-d1d416eb7616@bastelstu.be> Date: Sun, 01 Jan 2023 12:20:02 -0600 To: "php internals" Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] What to do with opaque GMP objects which allows instantiation From: larry@garfieldtech.com ("Larry Garfield") On Fri, Dec 30, 2022, at 2:36 PM, Tim D=C3=BCsterhus wrote: > Hi > > On 12/30/22 18:36, G. P. B. wrote: >> - Add a proper constructor that does the same as gmp_init() in mast= er/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 v= ia=20 > 'new', then I believe that making those objects behave more like=20 > "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 o= bject. I defer to the relevant release managers as to what versions it should b= e fixed in, but I agree this is the right fix. --Larry Garfield