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 # 51

Which of the following statements about exceptions are correct? (Choose 2)

A.

you can only throw classes derived from Exception

B.

a try block can have multiple catch blocks

C.

a try block must not be followed by a catch block

D.

try blocks cannot contain nested try blocks

Question # 52

Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?

A.

$_GET[ ' ALL ' ]

B.

$_SERVER[ ' QUERY ' ]

C.

$_SERVER[ ' QUERY_STRING ' ]

D.

$_ENV[ ' QUERY ' ]

E.

$QUERY_STRING

Question # 53

Which string will be returned by the following function call?

$test = ' /etc/conf.d/wireless ' ;

substr($test, strrpos($test, ' / ' ));

A.

" "

B.

" /wireless "

C.

" wireless "

D.

" /conf.d/wireless "

E.

" /etc "

Question # 54

After performing the following operations:

$a = array( ' a ' , ' b ' , ' c ' );

$a = array_keys(array_flip($a));

What will be the value of $a?

A.

array( ' c ' , ' b ' , ' a ' )

B.

array(2, 1, 0)

C.

array( ' a ' , ' b ' , ' c ' )

D.

None of the above

Question # 55

Under which circumstances is the $_SESSION super-global available? (Choose 2)

A.

If session_start() was called.

B.

If session.auto_start INI setting is enabled.

C.

Always available in PHP 5.

D.

If a valid session id is passed via GET, POST or COOKIE.

E.

If register_globals are enabled.

Question # 56

Which of the following parts must a XML document have in order to be well-formed?

A.

An XML declaration

B.

A root element

C.

A specified encoding

D.

A reference to either a DTD or an XML schema definition

Question # 57

What XML component does the following XPath query try to match?

//foo[bar/@id=5]

A.

bar element with an id attribute whose value is equal to 5

B.

foo element containing a child node bar tag

C.

id attribute whose value is equal to 5

D.

foo element with a child note bar whose id attribute is equal to 5

E.

all of the foo elements that have a child node bar, whose id attribute is equal to 5

Question # 58

What happens if you try to access a property whose name is defined in a parent class as private, and is not declared in the current class?

A.

An E_NOTICE error will be triggered.

B.

An E_ERROR error will be triggered.

C.

An E_WARNING error will be triggered.

D.

No errors will be triggered

Question # 59

What is the file locking mode that should be used when writing to a file?

A.

LOCK_UN

B.

LOCK_SH

C.

LOCK_EX

D.

LOCK_NB

Question # 60

Where does the session extension store the session data by default?

A.

SQLite Database

B.

MySQL Database

C.

Shared Memory

D.

File system

E.

Session Server

Go to page: