1.

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); ?>  

A. Array ( Peter Ben Joe )
B. Array ( [Peter] =&gt; 35 [Ben] =&gt; 37 [Joe] =&gt; 43 )
C. Array ( 35 37 43 )
Answer» C. Array ( 35 37 43 )


Discussion

No Comment Found