Exit demo 200-710 Zend Certified Engineer PDF format · free preview

Zend 200-710 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/200-710.html

Question 1
Single choice

What is the output of the following code?

$first = "second";

$second = "first";

echo $$$first;

A.

"first"

B.

"second"

C.

an empty string

D.

an error

Question 2
Single choice

What is the output of the following code?

for ($i = 0; $i < 1.02; $i += 0.17) {

$a[$i] = $i;

}

echo count($a);

A.

0

B.

1

C.

2

D.

6

E.

7

Question 3
Multiple choice

Which of the following can be registered as entry points with a SoapServer instance (choose 2):

A.

A single function

B.

A single method from a class

C.

All methods from a class

D.

All classes defined in a script

Question 4
Multiple choice

Which of the following statements about exceptions is correct? (Choose 2)

A.

you can only throw classes derived from Exception

B.

a try block can have multiple catch blocks

C.

a try block must not be followed by a catch block

D.

try blocks cannot contain nested try blocks

Question 5
Multiple choice

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

A.

addslashes()

B.

htmlentities()

C.

htmlspecialchars()

D.

strip_tags()

E.

quotemeta()

Question 6
Multiple choice

Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose 2)

A.

PHP_AUTH_TYPE

B.

PHP_AUTH_PASSWORD

C.

PHP_AUTH_DIGEST

D.

PHP_AUTH_PW

E.

PHP_AUTH_USER

Question 7
Single choice

Transactions are used to...

A.

guarantee high performance

B.

secure data consistency

C.

secure access to the database

D.

reduce the database server overhead

E.

reduce code size in PHP

Question 8
Single choice

Late static binding is used in PHP to:

A.

Load dynamic libraries and extensions at runtime

B.

Use caller class information provided in static method call

C.

Resolve undefined class names by automatically including needed files

D.

Find proper method to call according to the call arguments

Question 9
Single choice

Given the following array:

$a = array(28, 15, 77, 43);

Which function will remove the value 28 from $a?

A.

array_shift()

B.

array_pop()

C.

array_pull()

D.

array_unshift()

Question 10
Multiple choice

Which of these error types may be handled by a user defined error handler function? (Choose two.)

A.

E_ERROR

B.

E_NOTICE

C.

E_PARSE

D.

E_WARNING

Showing 10 of 233 questions · Unlock the full set