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 9 hours ago Total Questions : 219

The Zend PHP 5 Certification content is now fully updated, with all current exam questions added 9 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 # 41

How many elements does the array $matches from the following code contain?

1 < ?php

2 $str = " The cat sat on the roof of their house. " ;

3

4 $matches = preg_split( " /(the)/i " , $str, -1,

PREG_SPLIT_DELIM_CAPTURE);

5 ? >

A.

2

B.

3

C.

4

D.

7

E.

9

Question # 42

Which PHP function retrieves a list of HTTP headers that have been sent as part of the HTTP response or are ready to be sent?

A.

header()

B.

headers()

C.

headers_list()

D.

headers_sent()

Question # 43

What will be the result of the following operation?

array_combine(array( " A " , " B " , " C " ), array(1,2,3));

A.

array( " A " , " B " ,C " ,1,2,3)

B.

array(1,2,3, " A " , " B " ,C " )

C.

array( " A " = > 1, " B " = > 2, " C " = > 3)

D.

array(1= > " A " ,2= > " B " ,3= > " C " )

E.

array(1,2,3)

Question # 44

Which of the following commands will append data to an existing file?

A.

file_put_contents( " file " , " data " , " a " );

B.

file_put_contents( " file " , " a " , " data " );

C.

file_put_contents( " file " , " data " , FILE_APPEND);

D.

file_put_contents( " file " , " a " , NULL, FILE_APPEND);

Question # 45

Which of the following is NOT a valid function declaration?

A.

function x ($x1 = array())

B.

function x (A $x1)

C.

function x (A $x1 = null)

D.

function x ($x1 = $x2)

Question # 46

What is the name of the PHP function used to automatically load non-yet defined classes?

A.

autoload()

B.

__autoload()

C.

__catch()

D.

load()

E.

loadClass()

Question # 47

Transactions are used to:

A.

guarantee high performance

B.

secure data consistency

C.

secure access to the database

D.

reduce the database server overhead

E.

reduce code size in PHP

Question # 48

Which of the following is an invalid DOM save method?

A.

save()

B.

saveFile()

C.

saveXML()

D.

saveHTML()

E.

saveHTMLFile()

Question # 49

Which of the following is NOT possible using reflection?

A.

Analysing of nearly any aspect of classes and interfaces

B.

Analysing of nearly any aspect of functions

C.

Adding class methods

D.

Implement dynamic construction (new with variable class name)

Question # 50

Can a private static member be accessed from a public static method of the same class?

A.

Yes

B.

No

C.

Only if the class is defined as an abstract

Go to page: