[RFC] array_key_(first|last|index) functions proposal

From: Date: Fri, 01 Jan 2016 20:44:52 +0000
Subject: [RFC] array_key_(first|last|index) functions proposal
Groups: php.internals 
Request: Send a blank email to internals+get-89955@lists.php.net to get a copy of this message
Happy New Year, everyone! I’d like to present the first new PHP RFC for this year, a proposal to add functions to easily get the first, last, or an arbitrary key (and value) by index from an array, taking advantage of PHP’s property that arrays are ordered maps. RFC: https://wiki.php.net/rfc/array_key_first_last_index PR: https://github.com/php/php-src/pull/347 Thanks, -John

« previous php.internals (#89955) next »