Priti's Technical Corner

October 1, 2011

Zend PHP 5.3 Practice Question

Below set of questions are just for your zend certification practice.

Question 1.  Which PHP Tags are always avaiable? [Choose 2]
A. <?php ?>
B. <% %>
C. <script language=”php”>
D. <? ?>

Answers: A,C

Question 2. Which of the data types are not scalar data types
A. Boolean
B. Array
C. Resource
D. float

Answer: B,C

Question 3. To check for a certain type of a varaible use ……….. function.

Question 4.What is wrong with following code
function foo()
static $bar = <<<LABEL
Nothing in here…

A. There is no error
B. Static varaible initialization with HEREDOC is wrong
C. LABEL keyword can’t be used


Question 5: print $foo = 4 + “1.2 apples”;
A. 4
C. 5.2
D. 5
Answer  C


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: