Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Zend 200-500 - Zend PHP 5 Certification

Page: 7 / 7
Total 219 questions

Which of the following statements is NOT correct?

A.

Only methods can have type hints

B.

Typehints can be optional

C.

Typehints can be references

Which of the following keywords is not new in PHP 5?

A.

implements

B.

instanceof

C.

static

D.

abstract

What will be the value of $b after running the following code?

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

$b = (array)$a;

A.

TRUE

B.

array('c', 'b', 'a')

C.

array(array('c', 'b', 'a'))

D.

None of the above

Which of these protocols are NOT governed by the W3C in their latest versions? (Choose 2)

A.

XML-RPC

B.

SOAP

C.

WSDL

D.

UDDI

What is the output of the following script?

1

2 function fibonacci ($x1, $x2)

3 {

4 return $x1 + $x2;

5 }

6

7 $x1 = 0;

8 $x2 = 1;

9

10 for ($i = 0; $i < 10; $i++) {

11 echo fibonacci($x1, $x2) . ',';

12 }

13 ?>

A.

1,2,3,4,5,6,7,8,9

B.

1,2,3,4,5,6,7,8,9,10,

C.

1,2,3,5,8,13,21,34,55,89,

D.

1,1,1,1,1,1,1,1,1,1,