Obtenga 10 valor en la matriz PHP
$arr = [1,2,3,4,5];
$newArr = array_splice($arr, 0, 3);
echo '<pre>';
print_r($arr);
print_r($newArr);
Tyagi420
$arr = [1,2,3,4,5];
$newArr = array_splice($arr, 0, 3);
echo '<pre>';
print_r($arr);
print_r($newArr);