What will the following script output? <?php $a = array (‘a’ => 20, 1 => 36, 40); array_rand ($a); echo $a[0]; ?>
Correct Answer: Nothing
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
echo new stdClass == new stdClass, '-', new stdClass !== new stdClass;
Function to prepend one or more elements to the beginning of an array?
Function to report errors from mysqli functions or queries?
Which function is a relative ftp function new to PHP5?
What's the output? function test(&$var) { $var=$var-1; return $var; } $returnVar = test(50); echo $returnVar. ' is answer.';
How will you find out the value of current session id?
What does this statement means $a === $b ?
Are ZIP extensions available by default in PHP 5.x ?
Which is used to sort an array in descending order?
What's the output? echo 4<<4;