Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127846 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 F0DD31A00BC for ; Wed, 2 Jul 2025 19:07:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751483121; bh=7NIeNI1QJZ9xdbUGJvkl7cUQFRnB+fT3dJovlM0/YN8=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=R6OW1hyvJDiyQK6FosRvKIW+CRLB3RGRxeWPl6jahT+bm2PLaVNunCIU9cKntj7qB Jtqd+jDQLALV4Arss7oy3pMZeeSwG9p1whJWEe5hgAxJIiwKKiKgv0fI74LbgGZpyl 2hHTlbwJ5pAiF1g76yyer/+Q20AHWSwbrGJNXTN5Uwns4+NVFLQ5ifiGeGZZrsBgrF t0CFHY2iQWLE0u7EMm7UnnJ1EDjhZ3F/GBYQxPGnMWyNCf3w93P+aj4dhafa42HZan PyIZDwDSciQsyyXt8Rq+H8pGmIw1qyjHlf5LQRqAEzZa2A7Wvicm6ut7eByWmbaJbY TPQ7JrsGu9wpQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B79A9180057 for ; Wed, 2 Jul 2025 19:05:19 +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=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-24420.protonmail.ch (mail-24420.protonmail.ch [109.224.244.20]) (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, 2 Jul 2025 19:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1751483230; x=1751742430; bh=7NIeNI1QJZ9xdbUGJvkl7cUQFRnB+fT3dJovlM0/YN8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=O8Ve2egby6B2AIMUSFCk/7AOOSE267B5ViPsyQN8VkRkEmo7AX5U273QxDhJgqk10 SuaNuCNsB7Vuh0AixpF+FIB7c6zVWueXx5JwfFmGy7JcRaJWaK6t3DXIPUlLov9Z81 S07ngzzQ0fkayEd5cUTQ3cVw6hjFUfHE29+RoZ9gP91XJhrAwrCQq6Oq7iKoc7XD/p OJDlaoBX6QWN4auM6XSiDIpB2Yt7EhW4ikHIkIz3AiTZfd0qpgTAdSQFmJxERbhxM8 uI4o1TdYDwgUlMUzZJD/Y2GH8sMqj6k6eOkv2l9Y2jbiuc9tPNAcNueC929N/HFHpf FQioySfiN5EhA== Date: Wed, 02 Jul 2025 19:07:03 +0000 To: Arnaud Le Blanc Cc: =?utf-8?Q?Tim_D=C3=BCsterhus?= , Larry Garfield , php internals Subject: Re: [PHP-DEV] [RFC] Partial Function Application v2 Message-ID: <8a_PJVOgRDHtD0Z6P0Qikmgy5AnkD5nebS3ZzHO7DN821-f4UVXrymrAgBLdH9BLboUiQ9vRiq9q6g0MAKG8db4a3zJn9MUYioH6tQtjLjA=@gpb.moe> In-Reply-To: References: <0be8afcb6da0e8df4a9f1b446fb35bde@bastelstu.be> Feedback-ID: 96993444:user:proton X-Pm-Message-ID: 25c8629f3abe2054a44bc450371f261488110cc8 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Wednesday, 2 July 2025 at 17:26, Arnaud Le Blanc w= rote: > On Wednesday, July 2nd, 2025 at 17:05, Tim D=C3=BCsterhus tim@bastelstu.b= e wrote: > > is_callable($f, callable_name: $name); > > var_dump($name); >=20 >=20 > Closure::__invoke (like FCCs) I'm slightly hijacking this to mention that this seems like a bug in how an= FCC currently grabs the name of a Closure, and have submitted https://gith= ub.com/php/php-src/pull/19011 as a fix. This came up during my review of Daniel's implementation for the deprecatio= n of returning non string values from output handlers that was accepted for= 8.4 but didn't make it. As such, could you pull in this patch and see how it affects error messages= ? Otherwise, having had a glimpse of the implementation, I can't really see a= ny reason for it to not be voted on for acceptance in 8.5. Best regards, Gina P. Banyard