What will the following script output?
<?php $a = array ('a' => 20, 1 => 36, 40); array_rand ($a); echo $a[0]; ?>
Only E is correct.The $a array doesn’t have any element with a numeric key of zero, and the array_rand() function does not change the keys of the array’s elements—only their order.