Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Zend PHP 5 Certification

Last Update 8 hours ago Total Questions : 219

The Zend PHP 5 Certification content is now fully updated, with all current exam questions added 8 hours ago. Deciding to include 200-500 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 200-500 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 200-500 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Zend PHP 5 Certification practice test comfortably within the allotted time.

Question # 4

What is the output of the following code?

1 < ?php

2 function append($str)

3 {

4 $str = $str. ' append ' ;

5 }

6

7 function prepend( & $str)

8 {

9 $str = ' prepend ' .$str;

10 }

11

12 $string = ' zce ' ;

13 append(prepend($string));

14 echo $string;

15 ? >

A.

zceappend

B.

prependzceappend

C.

prependzce

D.

zce

Question # 5

Which one of the following technologies was not built into PHP before version 5?

A.

XSL

B.

SOAP

C.

DOM

D.

SAX

Question # 6

How can precisely one byte be read from a file, pointed by $fp? (Choose 2)

A.

fread($fp, 1);

B.

fgets($fp, 1);

C.

fgetss($fp, 1);

D.

fgetc($fp);

E.

All of the above

Question # 7

What method can be used to find a tag with the name " foo " via the DOM extension?

A.

getElementById()

B.

getElementsByTagName()

C.

getElementsByTagNameNS()

D.

getElementByName()

E.

findTag()

Question # 8

What is the result of the following code?

define( ' PI ' , 3.14);

class T

{

const PI = PI;

} class Math

{ const PI =

T::PI;

} echo Math::PI;

A.

Parse error

B.

3.14

Question # 9

Which of the following rules must every correct XML document adhere to? (Choose 2)

A.

It has to be well-formed.

B.

It has to be valid.

C.

It has to be associated to a DTD.

D.

It may only contain UTF-8 encoded characters.

Question # 10

What SimpleXML function is used to parse a file?

A.

simplexml_load_file()

B.

simplexml_load_string()

C.

load()

D.

loadFile()

E.

loadXML()

F.

None of the above.

Go to page: