New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Zend 200-500 Online Access

Page: 4 / 7
Question 16

Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?

Options:

A.

$_GET['ALL']

B.

$_SERVER['QUERY']

C.

$_SERVER['QUERY_STRING']

D.

$_ENV['QUERY']

E.

$QUERY_STRING

Question 17

Given the following code, what will be the value of $a?

$a = array('a', 'b');

array_push($a, array(1, 2));

Options:

A.

array('a', 'b', 1, 2)

B.

array(1, 2, 'a', 'b')

C.

array(array(1, 2), 'a', 'b')

D.

None of the above

Question 18

When a class is defined as final it:

Options:

A.

Can no longer be extended by other classes.

B.

Means methods in the class are not over-loadable.

C.

Cannot be defined as such, final is only applicable to object methods.

D.

Is no longer iteratable.

Question 19

Given the following code, what is correct?

function f(stdClass &$x = NULL) { $x = 42;

}

$z = new stdClass;

f($z);

var_dump($z);

Options:

A.

Error: Typehints cannot be NULL

B.

Error: Typehints cannot be references

C.

Result is NULL

D.

Result is object of type stdClass

E.

Result is 42

Page: 4 / 7
Exam Code: 200-500
Exam Name: Zend PHP 5 Certification
Last Update: Dec 22, 2024
Questions: 219
200-500 pdf

200-500 PDF

$25.5  $84.99
200-500 Engine

200-500 Testing Engine

$28.5  $94.99
200-500 PDF + Engine

200-500 PDF + Testing Engine

$40.5  $134.99