Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Zend Certified Engineer

Last Update 10 hours ago Total Questions : 75

The Zend Certified Engineer content is now fully updated, with all current exam questions added 10 hours ago. Deciding to include 200-710 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 200-710 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 200-710 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Zend Certified Engineer practice test comfortably within the allotted time.

Question # 11

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

A.

header()

B.

$_COOKIE

C.

setcookie()

D.

setrawcookie()

Question # 12

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

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

A.

array_rand($array);

B.

array_rand($array, 1);

C.

shuffle($array);

D.

$array[array_rand($array)];

E.

array_value($array, ARRAY_RANDOM);

Question # 13

Assuming UTF-8 encoding, what is the value of $count?

A.

4

B.

5

C.

7

D.

0

Question # 14

How should class MyObject be defined for the following code to work properly? Assume $array is an array and MyObject is a user-defined class.

A.

MyObject should extend class Closure

B.

MyObject should implement interface Callable

C.

MyObject should implement method__call

D.

MyObject should implement method__invoke

Question # 15

Which of the following is NOT true about PHP traits? (Choose two.)

A.

Multiple traits can be used by a single class

B.

A trait can implement an interface

C.

A trait can declare a private variable.

D.

Traits are able to be auto-loaded.

E.

Traits automatically resolve conflicts based on definition order.

Question # 16

Given the following array:

Which function will remove the value 28 from $a?

A.

array_shift()

B.

array_pop()

C.

array_pull()

D.

array_unshift()

Question # 17

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

Question # 18

Which of the following statements about SOAP are NOT true?

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.

Question # 19

In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this? (Choose two.)

A.

Store session data in a different location with session.save_path

B.

Store session data in a database

C.

Enable safe_mode

D.

Set session.name to something unique.

Question # 20

What is the output of the following code?

A.

A parser error, try cannot be followed by multiple catch

B.

1:Exception

C.

1:MyExeption

D.

2:MyException

E.

MyException

Go to page: