Re: [RFC] First-class callable syntax

From: Date: Tue, 25 May 2021 13:11:37 +0000
Subject: Re: [RFC] First-class callable syntax
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-114587@lists.php.net to get a copy of this message
On Fri, May 21, 2021 at 10:08 AM Rowan Tommins <rowan.collins@gmail.com> wrote: > > Everyone: please let's keep this thread for talking about first-class > callables, and focus on the semantics not just the syntax - are there > edge cases we need to consider, downsides to the proposed > implementation, etc? > Well the semantics seem rather clear? We could say one "downside" is that new-expressions are not supported, but the RFC explains why ( https://wiki.php.net/rfc/first_class_callable_syntax#object_creation, I think it makes sense), and special-casing can always be added later (or in PFA). Regards, -- Guilliam Xavier

« previous php.internals (#114587) next »