Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Last Attempt 200-550 Questions

Page: 7 / 8
Total 223 questions

Zend Certified PHP Engineer Questions and Answers

Question 25

What is the name of the header used to require HTTP authentication?

Options:

A.

Authorization-Required

B.

WWW-Authenticate

C.

HTTP-Authenticate

D.

Authentication-Required

E.

HTTP-Auth

Question 26

What is the preferred method for preventing SQL injection?

Options:

A.

Always using prepared statements for all SQL queries.

B.

Always using the available database-specific escaping functionality on all variables prior to building the SQL query.

C.

Using addslashes() to escape variables to be used in a query.

D.

Using htmlspecialchars() and the available database-specific escaping functionality to escape variables to be used in a query.

Question 27

Which of the following is NOT possible using reflection?

Options:

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 28

Type hinting in PHP allows the identification of the following variable types: (Choose 2)

Options:

A.

String

B.

Integer

C.

Array

D.

Any class or interface type

E.

All of the above

Page: 7 / 8
Total 223 questions