Return a key by its numeric index in the array

array:get_key_by_index(ARRAY $array, INT $index)

array:get_key_by_index(["hi" => 'foo', "bye" => 'good'],1)
#=> "bye"

Copyright ©2013-2022 SunSed®. All rights reserved.