-
What will be the output of the following PHP code?
<?php
$First = array("Ajit", "Rahul");
$Second = array("Ats", "Aju");
$Third = array_merge($First, $Second);
$Fourth = array("001", "002", "003", "004");
$Result = array_combine($Fourth, $Third);
print_r($Result);
?>
-
-
Array
(
[001] => Ajit
[002] => Rahul
[003] => Ats
[004] => Aju
) - Error
- Nothing
-
Array
(
[001]
[002]
[003]
[004]
) - None of these
-
Correct Option: A
Basic combined application of array_combine() and array_merge().