Sail E0 Webinar
Question
What will be the output of the following PHP code?$fname = array("Peter", "Ben", "Joe");$age = array("35", "37", "43");$c = array_combine($fname, $age);print_r($c);
Options:
A .  Array ( Peter Ben Joe )
B .  Array ( “[Peter] => 35” “[Ben] => 37” “[Joe] => 43” )
C .  Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
D .  Array ( 35 37 43 )
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers