Which function would you use to prepend one or more elements to the beginning of an array?
Correct Answer: array_unshift()
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
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.';
What's the output? $a = 0 or 1; $b = 0 || 1; echo '$a, $b';
The number of parameters in setCookie function
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;
What is the answer of this $a = 'b' $b = 1; echo '$${a}'
What's the output? function counter($a){ $result = ++$a++; return $result; } echo counter(5);