Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126232 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 B22121A00BC for ; Wed, 29 Jan 2025 15:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738163390; bh=UpySMKDqDL0ETYWOwKZKem/VnyRS9HX/pl8evkdZnYk=; h=Date:From:To:Subject:From; b=J/Wm8jmxRC37Vg+t367XWM8BnxjASWye2y0mluhIx0Vce7loWksZq40qIGOK5kWex Z3DVqc4H6oahBPb2e227SdsNscmO4P8B++ndBbXh0Vmk7fhBXhHLK9FHf8ThOHuR9O suDtpuG+/SkXhty9gK/Co4MN89VzCjzS41ixaP74hOrpbM0bCAB9EI+WmFXU2JJ+Sh QUaR8vzwt81FZ3pTzIhVIrkLNSoafy++jnyKdCLhhToqoecRw0LSE+mN1kkpDB5QeK purdRpEadASto1V7sWvdZa4VK/IzYR9+u8Vh/i4GH7ksjoLjUwHYuHISg+q1E2lz6C nP6ylfZQmqvgQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AFB76180061 for ; Wed, 29 Jan 2025 15:09:49 +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 ; Wed, 29 Jan 2025 15:09:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1738163555; bh=k5u/V0fHeT3f/NPTnn/Z/zMscH0odGBELhVGDvNrHmk=; h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:from:to: cc:subject:message-id; b=eT9aGtruPxq8cggWU92zoW+uRmyXcTfXebOJ2/aPMDVOl8PQ1ML9pmOW7TZj8dbYk dWQ5jX6EMRt3/Q28EMOgToO9sua0KllplPFzQsr7yYyzvUtqdjGxr6IvanhRgHEwtQ i8kVnO/QYywRPa5ahZ8t05AB1y5HvT2ozuzyJRVQS+vdgoUSDZCMmLgcdp5YLZSocu tYFRjrQCPCni4QKL9sBirA/FleOkIQ0ZHvOwVT8HlqMbYo3YMF6drWUp3anxhAUXMg 8QbuYOBlnpsRI5nrTHJBHsA+USOkQEYgrJpNE8IBSTN3EKfZ4wFTjr8+ZEg8C/dZqS Vpxq5FGIswoDg== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 29 Jan 2025 16:12:35 +0100 To: Volker Dusch , php internals Subject: [PHP-DEV] RFC: Marking return values as important (#[\NoDiscard]) Message-ID: 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 Volker and I would like to start discussion on our RFC to allow "Marking return values as important (#[\NoDiscard])". Please find the following resources for your reference: - RFC: https://wiki.php.net/rfc/marking_return_value_as_important - Implementation: https://github.com/php/php-src/pull/17599 Best regards Tim Düsterhus