array_slice php key and value code example
Example: php slice array by key
$input = array("a", "b", "c", "d", "e");
$output = array_slice($input, 2);
dump($output);
$input = array("a", "b", "c", "d", "e");
$output = array_slice($input, 2);
dump($output);