Question 1. Choose function name which is best suited for returning an item from the argument list.
Options
A. func_get_arg
B. func_num_args
C. get_func_paramter
D. None of above
Question 2. What will be the output
<?php
$stack = array(“orange”, “banana”, “apple”, “raspberry”);
$fruit = array_shift($stack);
print_r($fruit);
?>
A. array(“orange”,”banana”,”apple”)
B. array(“”banana”,”apple”,”raspberry”)
C. Number of parameter passed is incorrect
D. orange
Question 3. ________ function is used to import variables in to the symbol table from an array.
Question 4.what will be the output
<?php
$arr=array(1,2,3,4);
unset($arr);
echo count($arr);
?>
Options:
A. 3
B. 4
C. 0
D. 0,warning message
Question 5. is_float() is a valid php function?.
Options
A. True
B. False
Tags: Zend 200-530 Practice Questions, Zend certification, Zend PHP 5.3 Preparation Questions