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

Pass Using 200-550 Exam Dumps

Page: 3 / 8
Question 12

What is the output of the following code?

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

$a[$i] = $i;

}

echo count($a);

Options:

A.

0

B.

1

C.

2

D.

6

E.

7

Question 13

What is the output of the following code?

class Bar {

private $a = 'b';

public $c = 'd';

}

$x = (array) new Bar();

echo array_key_exists('a', $x) ? 'true' : 'false';

echo '-';

echo array_key_exists('c', $x) ? 'true' : 'false';

Options:

A.

false-false

B.

false-true

C.

true-false

D.

true-true

Question 14

Given a PHP value, which sample shows how to convert the value to JSON?

Options:

A.

$string = json_encode($value);

B.

$string = Json::encode($value);

C.

$json = new Json($value); $string = $json->__toString();

D.

$value = (object) $value; $string = $value->__toJson();

Question 15

Which MIME type is always sent by a client if a JPEG file is uploaded via HTTP?

Options:

A.

image/jpeg

B.

image/jpg

C.

image/pjpeg

D.

Depends on the client system

Page: 3 / 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