Am 27.12.2015 9:00 nachm. schrieb "Julian Rhind" <julianrh...@outlook.com>:
>
> Hi
>
> I have a proposal for new alternative syntax for list
>
> // In the old days we did this
>
> list ($a, $b) = array (1, 2);
>
> // With the new array syntax this has been improved to
>
> list ($a, $b) = [1, 2];
>
> // I think this new syntax should logically extend to
>
> [$a, $b] = [1, 2];
>
> Regards
>
> Julian
>
> Julian Rhind
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http:// <http://www.php.net/unsub.php>www.php.net
<http://www.php.net/unsub.php>/ <http://www.php.net/unsub.php>unsub.php
<http://www.php.net/unsub.php>
>

It looks nice. I like it

Reply via email to