Re: [RFC][Under Discussion] Add functions array_key_first()and array_key_last()
| From: | Nicolas Grekas | Date: | Wed, 20 Jun 2018 14:12:40 +0000 |
| Subject: | Re: [RFC][Under Discussion] Add functions array_key_first()and array_key_last() | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102325@lists.php.net to get a copy of this message | ||
> It returns
?array. So either
> null or [$key, $value]. There are
> no notices; sorry for the lack of detail.
>
See https://3v4l.org/2hX3Y for example