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

What is the return value of the following code?

strpos( " me myself and I " , " m " , 2)

A.

2

B.

3

C.

4

D.

0

E.

1

Question # 32

How many times will the function counter() be executed in the following code?

function counter($start, & $stop)

{

if ($stop > $start)

{

return;

} counter($start--, ++$stop);

}

$start = 5;

$stop = 2;

counter($start, $stop);

A.

3

B.

4

C.

5

D.

6

Question # 33

Transactions can be used to: (Choose 2)

A.

Recover from errors in case of a power outage or a failure in the SQL connection

B.

Ensure that the data is properly formatted

C.

Ensure that either all statements are performed properly, or that none of them are.

D.

Recover from user errors

Question # 34

Webservices are primarily meant to support

A.

business-to-business communication

B.

machine-to-machine interaction

C.

improved accessibility for websites

Question # 35

You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your site layout. Which function do you apply to the text, when displaying it? (Choose 2)

A.

strip_tags()

B.

htmlentities()

C.

htmltidy()

D.

htmlspecialchars()

E.

showhtml()

Question # 36

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

A.

Strip all occurrences of the string script.

B.

Strip all occurrences of the string javascript.

C.

Enable magic_quotes_gpc.

D.

None of the above.

Question # 37

Which piece of code will return the ASCII value of a character?

A.

(int) ' t ' ;

B.

ord( ' t ' );

C.

to_ascii( ' t ' );

D.

chr( ' t ' );

Question # 38

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

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

A.

It is possible to specify more than one __autoload function

B.

__autoload receives the missing class name all lowercased

C.

__autoload is being called for missing interfaces

D.

Inside __autoload missing classes trigger __autoload

Question # 40

What is the output of the following code?

printf( ' %4$d %2$s sit on 2 trees and eat %3$3.2f %1$s ' , " bananas " ,

" monkeys " , 9, 99);

A.

%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s

B.

99 monkeys sit on 2 trees and eat 9.00 bananas

C.

Monkeys Bananas sit on 2 trees and eat 9 99

D.

9 monkeys sit on 2 trees and eat 99 bananas

Go to page: