What will be the output of the following PHP code?
<?php
$fname = array("Peter", "Ben", "Joe");
$age = array("35", "37", "43");
$c = array_combine($fname, $age);
print_r($c);
?>
- Array ( Peter Ben Joe )
- Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
- Array ( 35 37 43 )
- Array ( “[Peter] => 35” “[Ben] => 37” “[Joe] => 43” )
(b).Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
need an explanation for this answer? contact us directly to get an explanation for this answer