Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114472 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83773 invoked from network); 14 May 2021 13:23:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 May 2021 13:23:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 094F7180211 for ; Fri, 14 May 2021 06:31:33 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 14 May 2021 06:31:32 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2A5BD16EA for ; Fri, 14 May 2021 09:31:31 -0400 (EDT) Received: from imap8 ([10.202.2.58]) by compute4.internal (MEProxy); Fri, 14 May 2021 09:31:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=gnvjhX obPnjzQQoOyoeeohWzqvXsEvkd0rhQ8PQY17M=; b=e9RIw3UpN66QpMiT29+m1f mrPPwKI7+/YeD6u6L8nqBp6Uu4PwZcxcyLUlacClq4N1bUZvpgizXBYHvKkQTspY 784bg6A7V5gjVM635GlU8B2/whzk2LdvxK9w2GOcM9d3FlBk1p+6qfuyvoXNADxK er236t/XmPjnjk4k1ujuIj+EAAkjx8HbagYBujMc/lc7uSQylmqk2ZozVBevGwOS 5pWy9m2/1upb2ta5tpoVDaLyLe4SZ5EabviP7IcQKmeorPKkIBaYJE8eI3xhaIG3 VoahnzOZSI7Zyl7djEswPJT36wXtF8JIw0NRn0YlXomGcw9V3hd7ZQUc3I59LVkQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehjedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeglefgkeduiedvvdetffeujefftdfhjeeiveehgfff keduveektddvledvvdfffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6BFBA3A040B; Fri, 14 May 2021 09:31:30 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416 Mime-Version: 1.0 Message-ID: <22fecf27-9ed2-4b01-8f76-57098634996e@www.fastmail.com> In-Reply-To: References: Date: Fri, 14 May 2021 08:31:09 -0500 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] [RFC] Partial function application From: larry@garfieldtech.com ("Larry Garfield") On Thu, May 13, 2021, at 3:30 PM, Sara Golemon wrote: > On Thu, May 13, 2021 at 2:31 PM Andreas Hennings > wrote: > > > 1. Serializing: > > But outside of the above cases it should be technically possible, or not? > > > > > I suspect that the limitations you cite make any kind of general > serializing both unreliable and impractical. I wouldn't plan on meaningful > serialization. Correct. A partial produces a Closure object like any other now, so it's as serializable as any other Closure object. That is to say, not at all. --Larry Garfield