Re: Proposal for a new array function
| From: | Pierre Joye | Date: | Mon, 08 Feb 2016 15:42:39 +0000 |
| Subject: | Re: Proposal for a new array function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91116@lists.php.net to get a copy of this message | ||
Hi,
On Feb 8, 2016 10:00 PM, "Matthew Setter" <matthew@maltblue.com> wrote:
>
> I want to propose a new PHP array method, called has_numeric_keys (or
> something similar/better), that would have the following method signature:
>
> bool has_numeric_keys(array $array)
I have no strong opinion on it but I wonder if it should have a recursive
version as well, if accepted. I see it a bit like array_walk.
Cheers,
Pierre