Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127793 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 E0CA21A00BC for ; Mon, 30 Jun 2025 07:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751268421; bh=P9NO0ELr5SvbBvBfaWlycyW4FuO6LABIgjaaxPLlOxc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SW0+3h0f3D6H3+IggCoe0TuXsRlBWpXpBiMo2hMn58IJjGfXLOzO/PsqqryCHW3v5 vBnTjaHY04bE7Y/F7QjEIiW4eO/29aggltSt/SuO6BFVgpeS4Qs2O+Lxb7C0z5TuZA 9P1lE1HUxLiByvd1lZjCOQNWr75WlbnqYai3BSv9OhBYgCtA05JhKTB7NPVxRAyblC rVDHQwdhoE1IuGeYctFn/NrOIw5MNBLo0ttSR+vbmUu2Ih8Ret+QVis23nTS0ulefy j6JJBSv3bHVgmD+4Et5dS9LctnNVoEkfxasNthoMofGF7rLCfr3ikQOKt92k76mP9l GpDDnPHudMR7A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 124421804D9 for ; Mon, 30 Jun 2025 07:27:01 +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=-2.1 required=5.0 tests=BAYES_00,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: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) 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, 30 Jun 2025 07:27:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1751268532; bh=ssFvh7cN8IFDH0PRRKMx/Ohy97hRxGRK6rg7y9nPdKQ=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=NpeoUivbo4cYjZIYrQM0cuBQ5KrxHhmAvuXyPoOoarz/BpN4fffJwNtcU0LWqar7X jDEUUNiCINZuiFLJBYuHtK64L0QG8e5bqihotwWkXAu0gSAXYuqhqsatprmRY3f1QY NIZOPa51oXCh3Lh/KW6I+91aDEluE4d4oe0V0eb/aE07d+zYq6nJ/Ybdk4WoQ8Fzvu TCa56Dmds5000PRJy24y7kKmVusa/oxbAlQb7EQ43bGYuiDkpb9/EkJTvoQYU6J2vm dk62DEJcRCe1ezz7RQqDYE/Q83AUZhWP1zmt6H7DjfvYBdjgoFOzQTUlfbXws8oFke FvKvTXw/BbzOA== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 30 Jun 2025 09:28:52 +0200 To: Larry Garfield Cc: php internals Subject: Re: [PHP-DEV] [RFC] Partial Function Application v2 In-Reply-To: References: Message-ID: <2be2b865335201e2b6a859c12188e8bd@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-06-28 07:06, schrieb Larry Garfield: > https://wiki.php.net/rfc/partial_function_application_v2 Some thoughts, I did not yet take an in-depth look: - Will PFA be available in constant-expressions, following the “First Class Callables in constant expressions” RFC (https://wiki.php.net/rfc/fcc_in_const_expr)? - It would be good to include an example section not using a regular “free-standing” function in the RFC. The RFC already mentions that all callables are supported, but explicitly showing an example for the possible alternative syntaxes (including `$foo->bar(?)` and `$foo(?)` would be useful. - Starting with the “RFC Impact” section, several sections of the template are not filled in. Best regards Tim Düsterhus