Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126257 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 qa.php.net (Postfix) with ESMTPS id 9286A1A00BC for ; Fri, 31 Jan 2025 11:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738321488; bh=NLwV84/wjT3M71kaUyFECID8meWU8Cptf2BLOLMmJoY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G3YRg8IKe8jE5ULwS1b0ZwDJMAT416la8Y81A+7a9YzNWDokaibhfzlQ7cvvw6Ha5 uzjp2Xc/hi+/j8iPlg/wRccjqvPCD/6CoHwVS2V1P6L3IMuZ/dmsiZXWcxI+xnhXXN avdfOOfnGvRiLKhX5p300QA0XIT/0HItWKHj57COg3tecuzgFDfJ1GOIdDVGBOB+1u HHDCR2bnidTI9/DTPdtDJOcoyidqWzbJA9kdXdY3v2YuFOiqi5fZNVT4VuDav4GMM3 zklPMB8dT6gIdTBwCHdlU+ZSkK0g+qqgY0GohrfC/zDvCq/k+5UiuNUPxypGGAzbke GNfmpLzDMAnAA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EA9B6180084 for ; Fri, 31 Jan 2025 11:04:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) 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.0 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 ; Fri, 31 Jan 2025 11:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1738321654; bh=QncD0xDtaMFzQM4ER/WmpLxMqKBRjygkF8j1RxZsl4o=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=FmWBd3dgBMr8dlyVLTuxgEZS6YXTYlZ+jgMw5Ln3NbNd9k4TaP1BiYhhZr36kKuyE Vx5QhWEN1q7M0ql+gQxM8OkshDO2xMy1Cw6kJV5yAegHVbil4Qzn1VNbAhJ6GSwDAy OzOqHi2KWIG0xxtQ+j1GHNQK/3Mv3AX9pxIABRKs/DZrrD2AxU7a4eVc96IdyJFazS 7KF3D1Q5G/XpdWqSdB4/UKHGx+OcF6CWcfKnpH5ofUqKnAH/iLAoiaou12+2e7nz2P Xzjt7X6Bs8AVuspatg4emqD/jF3dGkpJd/GF6F4dzVYbXMOY6A1eWGhFCN8ZSUvqpF El9mSrc3AthPw== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 31 Jan 2025 12:07:33 +0100 To: Claude Pache Cc: php internals Subject: Re: [PHP-DEV] RFC: Marking return values as important (#[\NoDiscard]) In-Reply-To: References: <3f170549-cfd6-441e-b892-cf51d726dbe8@bastelstu.be> <3b4d9be8-9255-44ab-95c5-ea3045212cf4@app.fastmail.com> Message-ID: <6a407ecf725e9c7e2bd82ba0701896ac@bastelstu.be> 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 Am 2025-01-30 18:48, schrieb Claude Pache: > BTW, the RFC says that introducing the `(void)` cast is a backward > compatible change, which is incorrect; see: https://3v4l.org/iN7OY :-| Thank you for pointing that out. We've adjusted the “Backward Incompatible Changes” section accordingly and also changed threshold for the separate vote for the inclusion of `(void)` from 50%+1 to 2/3 to more accurately reflect the possible impact. Best regards Tim Düsterhus