What will be the output of the following PHP code?
<?php
$a = array("red", "green", "blue");
array_pop($a);
print_r($a);
?>
- Array ( [0] => red [1] => green )
- Array ( [0] => green [1] => blue )
- Array ( [0] => red [1] => blue )
- Array ( [0] => blue [1] => blue )
(a).Array ( [0] => red [1] => green )
need an explanation for this answer? contact us directly to get an explanation for this answer