n first element of array php 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);