Re: Two new functions array_first() and array_last()
| From: | Saki Takamachi | Date: | Sun, 15 Oct 2023 16:21:08 +0000 |
| Subject: | Re: Two new functions array_first() and array_last() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121326@lists.php.net to get a copy of this message | ||
Hi Pierre
> The first two probably only make sense for a numerically indexed array
I do not think so. If these are something like "reset/end without side effects", then they
should work fine even not numeric indexed array.
Regards.
Saki