-
What will be the output of the following PHP code?
<?php
$Country = array("INDIA", "USA", "ENGLAND");
array_pop($Country);
$Country1 = array("ISRAEL");
$Country = array_merge($Country, $Country1);
print_r($Country);
?>
-
- Nothing
-
Array
(
[0] => INDIA
[1] => USA
[2] => ISRAEL
) -
Array
(
[0] => INDIA
) - Error
- None of these
Correct Option: B
array_merge() and array_pop() yields that result.