Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Vce 200-530 Questions Latest

Page: 3 / 10
Total 254 questions

Zend PHP 5.3 Certification Questions and Answers

Question 9

Given the following two functions, what statement is correct?

function dynamicNew($name) {

return new $name;

}

function reflectionNew($name) {

$r = new ReflectionClass($name);

return $r->newInstanceArgs();

}

Options:

A.

Both functions do the same

B.

dynamicNew() results in a parse error, reflectionNew() works

Question 10

What is the output of the following code?

Options:

Question 11

Which one of the following technologies was not built into PHP before version 5?

Options:

A.

XSL

B.

SOAP

C.

DOM

D.

SAX

Question 12

How can the constant defined below be accessed from within PHP?

class myClass {

const FOO = 'BAR';

}

Options:

A.

myClass::$FOO

B.

myClass::$$FOO

C.

myClass::FOO

D.

myClass::foo

E.

$foo::myClass

Page: 3 / 10
Total 254 questions