Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127801 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 10B0E1A00BC for ; Mon, 30 Jun 2025 14:56:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751295261; bh=c1JGwbkv6wMUUhf6hCbag7MoGrQLg7Q0rli6gXiOteI=; h=Date:From:To:In-Reply-To:References:Subject:From; b=CwB78x/FRsXR3YgEjdGWmmdlONxy9n8k81tEqQBQvt/xw1tIn3Cb9ynSoTtn7IzlW FoZ24QAakD+iFUOKB9XVojKJM/V7ZoE58U4T+PEi72gysyjXml4NpZgzKGn2pWWArr Jij+Qu7GfyXgLLfHbnc1hWd+iT6Zx1kQoflLnU8hRsi7LxbYsg1H9m448HfK1o2EG0 oyulGYeKc1PeXKX3jHt2XJIyyuc+IDWeRQDswIGfEFJHux4G7da/ioYseJIehZH5eN Pb69rcx1Puv4NDFfUAkmiewT7+UDZbnHqHWQWN68AbEWoTUw4uO33Vs7vi4Qz7EkIK 4I0D03xiLxKzA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D9BDA18053F for ; Mon, 30 Jun 2025 14:54:16 +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.9 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE 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 fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (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 14:54:04 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 3450014002E9 for ; Mon, 30 Jun 2025 10:55:57 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Mon, 30 Jun 2025 10:55:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm2; t=1751295357; x=1751381757; bh=arceyFA6ErhKOK3gLBNlE px5G8cuKzvhfKhYBR967S4=; b=LoGB/QGqXREy84Wh5OEVyhuFw8De4dvmDV9K0 iRbpb2vF/aLevJNsA7hpI39BgfN3UJ+v6K84aGFp3gho8bOQiRMRh2Fy9XnybcuM /DumVNyOaloJeG6ms/pElxvXQsj3KlBGa/desceBJcW4iOBfVdh4i44hVVYLeUsR NT8lhmAJgY0k0FA0cbwmSR8dkTJOKsH127r3wx8gGs2v74WnzNrQW+zjhWIJnkQj pPXEjRvYrnjv54oBOQi9LRjzEQCvmgMTUd/O4MgXeMFXSrGJMb+peF9WmFczIfDv 0/LYLrBpPY7jIIPRUktsYRd5tQSdgKt7YG8au1MkKdB+LZqGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1751295357; x=1751381757; bh=a rceyFA6ErhKOK3gLBNlEpx5G8cuKzvhfKhYBR967S4=; b=g7SfqcfGegsnR96UP 6hbIeo5aU41FE9sa8sde2ZjUKNL/4kr+MVgFomdIn4SlVwZ+ua+9OvwuSnMHFz3f 2N/dqaKlw84SHlEpPxCitET3mOzdjfnGrwu/4bMhxmFHndIq9rP2P8qWt2b0DuB3 Xu0Qj90/6rZ0ChDWjdOz1NVOzPYKO3OvvxfT6bYLehwQHpqhwh3d5cN2JwJct1Uk Pkwao1tmxvx2mZxDlnZKmJHvPK5QqyoqNHxKgQ+sBJTuVQ7fpFxXgmyk7UYLFm4W cyx1xZFB9z5ZMJgThYHQACVmkHiXOfE1p+LdMfDNnfi8C4+h4+/QsRaXpkDl3Mix 35szw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduudellecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfnfgrrhhrhicu ifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomheqne cuggftrfgrthhtvghrnhepffeiiedvhfdvgedutddtgeetieeugeevhfetheeffeeftedu iedthedtgeejueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphht thhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhsse hlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id AFAD0700065; Mon, 30 Jun 2025 10:55:56 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: T7b7d29473ae5162b Date: Mon, 30 Jun 2025 09:55:36 -0500 To: "php internals" Message-ID: <647bae63-31b3-48ac-b9ec-d57834763dc2@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] [RFC] Partial Function Application v2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Sat, Jun 28, 2025, at 4:46 AM, Stephen Reay wrote: > Hi Larry,=20 > > I noticed your list of places this applies says "all function/method=20 > calls" but then doesn't list object invocation (__invoke magic=20 > method). I assume that's just an oversight in the list of places it's=20 > applicable rather than an omission in support? > > Cheers > > Stephen Yep, that's just an oversight. That should work, although it looks like= we don't have a test for it yet. I have left a note for Arnaud to add = one and updated the RFC. =20 On Sun, Jun 29, 2025, at 7:29 PM, Ben Ramsey wrote: > Under the section =E2=80=9Cfunc_get_args() and friends,=E2=80=9D one o= f the examples shows: > > $f =3D foo(?, ?, ??); > > I assume this is a typo? One too many ?. :-) Fixed thanks. --Larry Garfield