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($age, $fname);print_r($c);
Options:
A .  Array ( [35] => Peter [37] => Ben [43] => Joe )
B .  Array ( Peter Ben Joe )
C .  Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
D .  Array ( 35 37 43 )
Answer: Option A

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