Re: [RFC] Additional splat operator usage
| From: | Dmitry Stogov | Date: | Tue, 04 Nov 2014 20:13:25 +0000 |
| Subject: | Re: [RFC] Additional splat operator usage | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78679@lists.php.net to get a copy of this message | ||
I like the idea, especially list($a, $b, ...$c) = ...
Looks like Prolog's [A, B | C] = ..., unfortunately it won't provide the
same semantic and performance.
Implementation needs to be reviewed, but I think it must not affect
existing opcodes.
Thanks. Dmitry.
On Tue, Nov 4, 2014 at 1:45 AM, Chris Wright <daverandom@php.net> wrote:
> Good evening list,
>
> I'd like to open discussion a relatively simple and clear-cut RFC, either
> people will like it or they won't, there isn't a lot more to say here than
> what's in the RFC so please have a read.
>
> https://wiki.php.net/rfc/additional-splat-usage
>
> Thanks, Chris
>