Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

200-710 Exam Dumps - Zend Certified Engineer

Question # 4

What is the output of the following code?

A.

220.2231

B.

22.2231

C.

22.2,231

D.

56.2

Full Access
Question # 5

Which of the following functions are used to escape data within the context of HTML? (Choose two.)

A.

htmlentities()

B.

addslashes()

C.

stripslashes()

D.

strip_tags()

E.

htmlspecialchars()

Full Access
Question # 6

What is the difference between the spaceship operator (<=>) and the strcmp() function?

A.

There is no difference in functionality

B.

strcmp() returns a Boolean value, the spaceship operator a number

C.

strcmp() does a case-intensive comparison, the spaceship operator does not

D.

The spaceship operator returns -1, 0 or 1; strcmp() may return any integer

Full Access
Question # 7

When would you use classes and when would you use namespaces?

A.

Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions

B.

Use classes for performance-sensitive code, and namespaces when readability matters more

C.

Use namespaces for performance-sensitive code, and classes when readability matters more

D.

Always use them; namespaces as always superior to classes

Full Access
Question # 8

What is the output of the following code?

Full Access
Question # 9

You want to parse a URL into its single parts. Which function do you choose?

A.

parse_url()

B.

url_parse(0

C.

get_url_parts()

D.

geturlparts()

Full Access
Question # 10

Which of the following are valid code snippets? (Choose three.)

A.

function 4You(){}

B.

function_4You(){}

C.

function object(){}

D.

$1 = “Hello”;

E.

$_1 = ”Hello World”;

Full Access
Question # 11

What function can reverse the order of values in an array so that keys are preserved?

A.

array_flip()

B.

array_reverse()

C.

rsort()

D.

krsort()

E.

array_multisort()

Full Access