Yngvarr

Generation

generate functionTue, 28 Feb 2023

последние 1000 массив

function last1000() { $arr = array(); $len = count($arr); for ($i = $len-1; $i > $len-1001; $i--) { $arr[] = $arr[$i]; } return $arr; }

Questions about programming?Chat with your personal AI assistant