Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130284 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 727DD1A00BC for ; Mon, 9 Mar 2026 19:26:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1773084391; bh=f4CCy9ZCk51qjik/ywPrzCcOk17ZqXUzDO/0Lj8hOo0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=mZ6lgn8qtMGJM5DHkZskaKG0mkMYk7SOf0A61Vo+BmkoYV5CeiL6u7cLN190vOG98 l9+OFk8z2yb5XQfUQ1hjXUaDiofp1fccfp3Y61DztL9huOYsd1fHYu5GKK50akuqVa 5rO62Z7bRgblTi5kG/IJyQB1Y+ow5pxnrRSJMo4W3z4CL7jAlAqPkRLAS9uY74aPBq QLeKKGSpgwRjIi10u9fsKJN2faeKB3OoO7qzEsxGUs++bhH0ZQx5WuSe2EXKCd/fAg 9tu5GbkqDwC1E94+DulhOY6WeIGG5TlTa0Bgl6s+mp6yR0OodE3LIZqhwc6glyRjhe WzMJe7qCDylGw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 66888180048 for ; Mon, 9 Mar 2026 19:26:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 9 Mar 2026 19:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1773084383; bh=xRNITchFoscd9AnMKWsLIg0b9+J+pY/RMHkelxsEFUg=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=bFPq60JJddn6grC8lMAphQrK+vegpXb76fGiaUV5IT5gIfb5QbbHTcPnscc6ELRQo gNhRrOdTirIrFrYO2+TIqwGN9nRpAddBy4vZUds3sg+t9+nBrre03ALMTUfxtH/8Ml AJSzDDB6yNMOR+v605c8dbGcZ8dzo0662uQzflTUm4b/uohni+2UkWt2ZyZ0jhpkTu fpCucilJL7U2jMXaxn6fgWtIDMtG0xRGNodctXBtucxptW/uJrrrViDVgzz7tgp845 No01oAL9xTISq+q5vBfh9MoQducncLS+UOibd7ggt8JwiCWWEqBVPfCrxKfOHHlMSs 5I6nkqF0cslwA== Message-ID: Date: Mon, 9 Mar 2026 20:26:22 +0100 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Subject: Re: [PHP-DEV] [IDEA for RFC] let the "new" operator fail when the __construct() function returns a value. To: "Rowan Tommins [IMSoP]" , internals@lists.php.net References: <0ece40da-762a-4190-9cc8-23ff432fd441@bastelstu.be> <565970ab3a667958c340a9094d53357b@bastelstu.be> <583462DA-F68D-454D-98D5-F286ECFB1318@rwec.co.uk> Content-Language: en-US In-Reply-To: <583462DA-F68D-454D-98D5-F286ECFB1318@rwec.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 3/8/26 15:21, Rowan Tommins [IMSoP] wrote: > I appreciate this is mostly just a stub to revisit later, but for the record I think this should have its own RFC. There's a risk of these bulk RFCs becoming a way to bypass our normal process, since each section has much less detail than would be required for a standalone RFC. Even for the bulk deprecation RFC I try to include as much justification and explanation as possible for the sections I add. This generally includes workarounds or possible polyfills. One such example would be my proposal to deprecate `uniqid()` in 8.4: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_uniqid > In this case, you will be revisiting a topic where a previous RFC was rejected, so it's important that there's a clear rationale of why either this is a different proposal, or the previous arguments no longer apply. That's fair, I'll do this as a standalone RFC. Although I don't think there is much insightful discussion to be had here. Either folks are in favor or they are not, but discussion is unlikely to change anyone's opinion. Best regards Tim Düsterhus