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

Full Access Zend 200-550 Tutorials

Page: 5 / 8
Question 20

Which PHP function sets a cookie and URL encodes its value when sending it to the browser?

Options:

Question 21

What is the output of the following code?

function z($x) {

return function ($y) use ($x) {

return str_repeat($y, $x);

};

}

$a = z(2);

$b = z(3);

echo $a(3) . $b(2);

Options:

A.

22333

B.

33222

C.

33322

D.

222333

Question 22

Given a JSON-encoded string, which code sample correctly indicates how to decode the string to native PHP values?

Options:

A.

$json = new Json($jsonValue); $value = $json->decode();

B.

$value = Json::decode($jsonValue);

C.

$value = json_decode($jsonValue);

D.

$value = Json::fromJson($jsonValue);

Question 23

What SimpleXML function is used to parse a file?

Options:

A.

simplexml_load_file()

B.

simplexml_load_string()

C.

load()

D.

loadFile()

E.

loadXML()

F.

None of the above.

Page: 5 / 8
Exam Code: 200-550
Exam Name: Zend Certified PHP Engineer
Last Update: Dec 22, 2024
Questions: 223
200-550 pdf

200-550 PDF

$25.5  $84.99
200-550 Engine

200-550 Testing Engine

$28.5  $94.99
200-550 PDF + Engine

200-550 PDF + Testing Engine

$40.5  $134.99