Re: [RFC] [DISCUSSION] array_part()
| From: | Pierre Joye | Date: | Mon, 14 May 2012 13:01:29 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] array_part() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60577@lists.php.net to get a copy of this message | ||
hi Gustavo,
I would add some examples inline in the RFC, with explanation, to ease
the comprehension of this new function and its possibility. The
current RFC is somehow hard to digest :)
Cheers,
On Mon, May 14, 2012 at 1:39 PM, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote:
> On Mon, 14 May 2012 13:23:27 +0200, Paul Dragoonis <dragoonis@gmail.com>
> wrote:
>
>> Am i correct in assuming this is basically substr() for arrays.
>
>
> No. That's a part of it. It also does indexes as keys (like array_slice) and
> multidimensional arrays, none of which have anything analogous in strings.
>
>
> --
> Gustavo Lopes
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org