PHP - Arrays
Identify the error in the following PHP code snippet:
$numbers = [1, 2, 3];
array_pop($numbers, 2);
print_r($numbers);
$numbers = [1, 2, 3];
array_pop($numbers, 2);
print_r($numbers);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions