Below set of questions are just for your zend certification practice.
Question 1. Which PHP Tags are always avaiable? [Choose 2]
Options
A. <?php ?>
B. <% %>
C. <script language=”php”>
D. <? ?>
Answers: A,C
Question 2. Which of the data types are not scalar data types
Options
A. Boolean
B. Array
C. Resource
D. float
Answer: B,C
Question 3. To check for a certain type of a varaible use ……….. function.
is_type
Question 4.What is wrong with following code
function foo()
{
static $bar = <<<LABEL
Nothing in here…
LABEL;
}
A. There is no error
B. Static varaible initialization with HEREDOC is wrong
C. LABEL keyword can’t be used
AnswerA.
Question 5: print $foo = 4 + “1.2 apples”;
Options
A. 4
B. NULL
C. 5.2
D. 5
Answer C
Tags: php 5.3 practice question., Zend 200-530 Practice Questions, Zend certification, Zend PHP 5.3 Preparation Questions