Main Snake Zend Zend Questions Exam Quicktest MZend Zend-Race

12m 00s


Question: 1 (ID:483)

ID: 483


Which of the following session save handlers are available by default in PHP? (choose 3)





Question: 2 (ID:488)

ID: 488


What is the output of the following code?


                        
function print_conditional($x) {
   if ($x++ == 1) echo "none";
   echo "one";
   echo "none";
   return $x;
}
$x = 1;
print_conditional($x);
$x++;
print_conditional($x);                    



Question: 3 (ID:652)

ID: 652


What should go in the missing line ????? below to produce the output shown?


                        
$array_one = array(1,2,3,4,5);
$array_two = array('A', 'B', 'C', 'D', 'E');
/* ????? */ 
print_r($array_three);    
/* Result:   
    Array
    (
        [5] => A
        [4] => B
        [3] => C
        [2] => D
        [1] => E
    )
*/                    



Question: 4 (ID:108)

ID: 108


You passed an associative array to the sort() function. What will happen?





Question: 5 (ID:244)

ID: 244


A table named employees is given below:



Which of the following statements would return the employees' names, in ascending order, based on their last name and first name?



Question: 6 (ID:263)

ID: 263


In which of the following ways will you receive data from a Web page if you do not know how data is sent?





Question: 7 (ID:95)

ID: 95


What will be the output of the following code snippet?


                        
$input = [4, "4", "3", 4, 3, "3", 3, 3, 3, 3, 3, 5, 5, 5, 5, 7, 7, 7, 7];
echo count(array_unique($input));                    



Question: 8 (ID:767)

ID: 767


Which statement about SPLObjectStorage class is NOT true?





Question: 9 (ID:562)

ID: 562


To destroy a PHP session completely, one must which of the following?





Question: 10 (ID:657)

ID: 657


Which function is best suited for removing markup tags from a string?