Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

Zend Certification 200-530 Full Course Free

Page: 2 / 9
Question 8

Which of the listed changes would you make to the following PHP 4 code in order to make it most compliant with PHP 5? (Choose 2)

class Car {

var $model;

function Car($model) {

$this->model = $model;

} function toString() {

return "I drive a $this->model.";

}}

$c = new Car('Dodge');

echo $c->toString();

?>

Options:

A.

Change var to public or private

B.

Change function Car to function_construct

C.

Change "I drive a $this->model." to "I drive a {$this->model}."

D.

Change function toString()to static function toString()

Question 9

How many array elements will be found in the return value of:

split(".", "

Options:

A.

B.C")

B.

2

C.

3

D.

1

E.

6

F.

4

Question 10

How can the line on which HTTP headers were sent inside a script be determined?

Options:

A.

Using the headers_sent() function.

B.

Using the output_start() function.

C.

Using the ob_start() function.

D.

Cannot be determined

Question 11

What is the output of the following code?

Options:

Page: 2 / 9
Exam Code: 200-530
Exam Name: Zend PHP 5.3 Certification
Last Update: Nov 21, 2024
Questions: 254
200-530 pdf

200-530 PDF

$28  $80
200-530 Engine

200-530 Testing Engine

$33.25  $95
200-530 PDF + Engine

200-530 PDF + Testing Engine

$45.5  $130