RFC: array_key_first(), array_key_last() and array_value_first(), array_value_last()

Project Governance
Author
Enno
Target
7.3
As arrays are a powerful data structure it's handy in some cases to get the first or the last key/value of an array without a workaround. To accomplish this tas...

Add array_key_first() and array_key_last()?

Overall Results

Yes
No
Yes
18 Votes (56%)
No
14 Votes (44%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Add array_value_first() and array_value_last()?

Overall Results

Yes
No
Yes
15 Votes (45%)
No
18 Votes (55%)

Voting Timeline

Dates based on UTC

Voting Breakdown