Pass the Zend ZCE 200-710 Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

What is the output of the following code?

Question # 11

Options:

A.

string(0) “”


B.

bool(false)


C.

string(1) “!”


D.

string(2) “k!”


Expert Solution
Questions # 12:

Which value will be assigned to the key 0 in the following code?

Question # 12


Expert Solution
Questions # 13:

What is the output of the following code?

Question # 13

Options:

A.

This is text


B.

$text


C.

$text1


D.

$text2


Expert Solution
Questions # 14:

What is the output of the following code?

Question # 14

Options:

A.

Fatal error: Access to private variable MyTrait: $abc from context MyClass


B.

Notice: Undefined property MyClass: $abc


C.

int(2)


D.

int(3)


E.

NULL


Expert Solution
Questions # 15:

Which of the following statements about SOAP are NOT true?

Options:

A.

SOAP is also a request-/response-based protocol.


B.

SOAP can be transported using SMTP, HTTP and other protocols.


C.

SOAP requires developers to use WSDL.


D.

SOAP traffic via HTTP can be encrypted and compressed just like other HTTP requests.


Expert Solution
Questions # 16:

Which of the following expressions will evaluate to a random value from an array below?

$array = [“Sue”,”Mary”,”John”,”Anna”];

Options:

A.

array_rand($array);


B.

array_rand($array, 1);


C.

shuffle($array);


D.

$array[array_rand($array)];


E.

array_value($array, ARRAY_RANDOM);


Expert Solution
Questions # 17:

What is the output of the following code?

Question # 17

Options:

A.

1


B.

3


C.

5


D.

20


E.

7


Expert Solution
Questions # 18:

Which PHP function is used to validate where the contents of $_FILES[‘name’][‘tmp_name’] have really been uploaded via HTTP, and also save the contents into another folder?


Expert Solution
Questions # 19:

Which of the following can NOT be used to send a cookie from within a PHP application?

Options:

A.

header()


B.

$_COOKIE


C.

setcookie()


D.

setrawcookie()


Expert Solution
Questions # 20:

What is the output of the following code?

Question # 20

Options:

A.

A parser error, try cannot be followed by multiple catch


B.

1:Exception


C.

1:MyExeption


D.

2:MyException


E.

MyException


Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions