Re: RFC - Array slice syntactic sugar
| From: | Alex Bowers | Date: | Sat, 21 Mar 2015 11:52:43 +0000 |
| Subject: | Re: RFC - Array slice syntactic sugar | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85360@lists.php.net to get a copy of this message | ||
Would it make more sense then to have a RFC for array by positional index.
No range or anything initially (that will be a separate RFC), but simply to
get the value of an array by positional index?
$array[*4] to get the item in position 4.