PHP - Array Functions
What will be the output of the following PHP code?
$arr = [1, 2, 3, 4, 5]; $removed = array_splice($arr, 1, 2); print_r($removed);
$arr = [1, 2, 3, 4, 5]; $removed = array_splice($arr, 1, 2); print_r($removed);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions