On 13/06/18 20:26, Enno Woortmann wrote:
Hello internals,
I've changed the status of the currently introduced RFC to add the
functions array_key_first() and array_key_last() to "Under Discussion".
https://wiki.php.net/rfc/array_key_first_last
Regards,
Enno
What is the behaviour if the array does not exist? From the current RFC
it appears it would return null? Wouldn't it be better to return false
for this situation?
Niel
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php