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

PHP Arrays
Absent any actual need for choosing one method over the other, does passing arrays by value to a read-only function reduce performance compared to passing them by reference?

Yes, but only if the function modifies the contents of the array.
Yes, because PHP must monitor the execution of the function to determine if changes are made to the array.
Yes, but only if the array is large.
Yes, because the interpreter must always create a copy of the array before passing it to the function.
No

ANSWER DOWNLOAD EXAMIANS APP