Re: [RFC] Skipping parameters take 2
| From: | Andrea Faulds | Date: | Sun, 18 Jan 2015 02:04:48 +0000 |
| Subject: | Re: [RFC] Skipping parameters take 2 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80717@lists.php.net to get a copy of this message | ||
Hi Marcio,
> On 18 Jan 2015, at 02:01, Marcio Almada <marcio.web2@gmail.com> wrote:
>
> Just a note:
>
> I still think a single char token (like
~) would look great and
> wouldn't be "cryptic" like Yasuo argued. But, as said before, it's
> just a minor observation. The default token is a great option
> and
> sounds very intuitive to anyone I've asked for opinions.
For consistency with list(), we could also just put nothing:
foo($bar, , $baz);
Which is like:
list($bar, , $baz) = $arr;
Thoughts?
--
Andrea Faulds
http://ajf.me/