On 08/02/16 15:42, Pierre Joye 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.

I did wonder about that one, especially when DB queries tend to return a
list of numeric keyed records which may be numeric or named arrays ...

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to