Q. What is the result of the following PHP code?
Code:
<?php
$arr = array ("A", "B", "C", "D", "E");
$splice = array_splice ($arr, 2);
print_r ($arr);
?>
β
Correct Answer: (B)
Array([0] => A, [1] => B)