Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Zend 200-500 Online Access

Page: 7 / 8
Total 219 questions

Zend PHP 5 Certification Questions and Answers

Question 25

Which function can help prevent cross-site scripting? (Choose 2)

Options:

A.

addslashes()

B.

htmlentities()

C.

htmlspecialchars()

D.

strip_tags()

E.

quotemeta()

Question 26

What can prevent PHP from being able to open a file on the hard drive (Choose 3)?

Options:

A.

File system permissions

B.

File is outside of open_basedir

C.

File is owned by another user and safe_mode is enabled.

D.

File is inside the /tmp directory.

E.

PHP is running as the web server user.

Question 27

What function can reverse the order of values in an array without the loss of key information?

Options:

A.

array_flip()

B.

array_reverse()

C.

rsort()

D.

krsort()

E.

array_multisort()

Question 28

When a transaction reports no affected rows, it means that: (Choose 2)

Options:

A.

The transaction failed

B.

The transaction affected no lines

C.

The transaction was rolled back

D.

The transaction was committed without error

Page: 7 / 8
Total 219 questions