On 28.06.2018 at 15:02, Woortmann, Enno wrote:

> Are there other opinions concerning this topic?

In my opinion, there are already too many array functions, so I'm not
fond of adding more to it.  That said, I see the usefulness of
array_key_first() and array_key_last(), but not of array_value_first()
and array_value_last(), since these could easily be implemented on top
of the key functions in userland.  Also, it would be possible to
implement the suggested array_first() and array_last() on top of the key
functions, with whatever signature the user desires.

Anyhow, thanks for the RFC!

-- 
Christoph M. Becker

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

Reply via email to