PHP Arrays
Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use?

sort()
ksort()
krsort()
asort()
usort()

ANSWER DOWNLOAD EXAMIANS APP

PHP Arrays
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);

Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 )
Array ( Peter Ben Joe )
Array ( “[Peter] => 35” “[Ben] => 37” “[Joe] => 43” )
Array ( 35 37 43 )

ANSWER DOWNLOAD EXAMIANS APP