Re: [RFC] Square bracket syntax for array destructuring assignment
| From: | Ivan Enderlin | Date: | Fri, 08 Apr 2016 07:43:55 +0000 |
| Subject: | Re: [RFC] Square bracket syntax for array destructuring assignment | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92158@lists.php.net to get a copy of this message | ||
Hello,
On 07/04/16 14:21, Andrea Faulds wrote:
Hi everyone, Bob and I have made an RFC which proposes an alternative syntax for list(): https://wiki.php.net/rfc/short_list_syntax Please tell us your thoughts. Thanks!Thanks a lot for this RFC. Huge +1 from the all Hoa's community and myself. However, did you discuss about
[…] vs. {…}? Most of the time, arrays or vectors constructing are represented by […] symbols while destructing are represented by {…}. What your point of view or arguments here?
Again, thanks!