Em ter, 12 de jun de 2018 às 07:04, Côme Chilliet <c...@opensides.be> escreveu:
> Hello, > > Shouldn’t we also add array_first and array_last for consistency? > reset and end may be used for this but they modify the array state and > cannot be called on function results. > > Côme > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi Côme, Thanks for bringing the discussion about `array_first` and `array_last`. I'm pretending to code it and propose those in the next version of PHP after PHP 7.3, with the names `array_find_first` and `array_find_last` :) Thanks, -- Gabriel Caruso