Re: [VOTE] array_key_first(), array_key_last(), array_value_first(), array_value_last()
| From: | Enno Woortmann | Date: | Mon, 16 Jul 2018 23:13:53 +0000 |
| Subject: | Re: [VOTE] array_key_first(), array_key_last(), array_value_first(), array_value_last() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102873@lists.php.net to get a copy of this message | ||
Am 09.07.2018 um 13:16 schrieb Woortmann, Enno:
Hi, as the discussion got no new contributions I'd like to start the voting for the RFC fo add new functions for the handling of outer array elements. https://wiki.php.net/rfc/array_key_first_last To have a better separation I split up the vote for the functions. The first vote covers the functions to handle keys: array_key_first() and array_key_last(). The second vote covers the corresponding functions to handle the values: array_value_first() and array_value_last(). As this RFC adds functions but doesn't change the language syntax a 50% + 1 majority is required for both votes. The votes are open until 2018-07-16. The discussion for this RFC is located at https://externals.io/message/102245 Regards, EnnoHello together, The vote for this RFC has been closed. The vote for the initially RFC containing the functions array_key_first() and array_key_last() was accepted, the vote for the extended RFC (adding also array_value_first() and array_value_last()) was declined. I'll update the pull request located at https://github.com/php/php-src/pull/3256 tomorrow and remove the array_value functions as well as adopt the code review remarks of derickr so the PR can be merged for PHP 7.3. Thanks for the participation, Enno