Yngvarr

Generation

generate functionSun, 12 Feb 2023

обрезка массива

function truncate(array $a, $b) { return array_slice($a, $b); } echo truncate([1,2,3,4,5,6,7,8], 4);

Questions about programming?Chat with your personal AI assistant