Yngvarr

Generation

generate functionTue, 24 Jan 2023

get last key

function get_last($array) { return $array[count($array) - 1]; } get_last(['a', 'b', 'c'])

Questions about programming?Chat with your personal AI assistant