Correct Answer: array_flip
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
What's the output? function cube($n) { return($n * $n * $n); } $a = array(1, 2, 3, 4, 5); $b = array_map('cube', $a); print_r($b);
Is it possible to initiate abstract class?
What's the output? $array1 = array('a' => 'green', 'b' => 'brown', 'c' => 'blue', 'red'); $array2 = array('a' => 'green', 'yellow', 'red'); $result = array_diff_assoc($array1, $array2); print_r($result);
What's the output? '; echo is_finite(log(0)) . ''; echo is_finite(2000); ?>
Given this code: function doSomething( &$arg ) { $return = $arg; $arg += 1; return $return; } $a = 3; $b = doSomething( $a ); what is the value of $a and $b after the function call?
Which is not a valid DOM method in PHP?
What is 'empty()'?
Which regular expression can check the validity of an e-mail addresss?
Which is not a predefined constant?
Should assert() be used to check user input?