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

Zend 200-530 - Zend PHP 5.3 Certification

Page: 1 / 8
Total 254 questions

Which of the following did not result in an output error in PHP 4 but does in PHP 5?

A.

Using 'var' as an access modifier.

B.

Assigning a new object instance to $this in a constructor.

C.

Passing an object by-reference.

D.

Passing an object by-value.

What is the output of the following code?

A.

An error

B.

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

C.

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

D.

Nothing

Would the following code catch a parse error?

try {

echo $label

} catch (Exception $e) {

echo $e->getMessage();

}

A.

Yes

B.

No

What function should be used to escape command line arguments that are passed to commands executed from PHP?

A.

addslashes()

B.

quotemeta()

C.

escapeshellarg()

D.

escapeshellcmd()

E.

passthru()

What method can be used to find a tag with the name "foo" via the DOM extension?

A.

getElementById()

B.

getElementsByTagName()

C.

getElementsByTagNameNS()

D.

getElementByName()

E.

findTag()

Given the following code, what is correct?

function f(stdClass &$x = NULL) { $x = 42;

}

$z = new stdClass;

f($z);

var_dump($z);

A.

Error: Typehints cannot be NULL

B.

Error: Typehints cannot be references

C.

Result is NULL

D.

Result is object of type stdClass

E.

Result is 42

Which SPL class implements fixed-size storage?

What function is used to retrieve all available information about a symbolic link?

A.

symlink()

B.

stat()

C.

fstat()

D.

lstat()

E.

readlink()

Which of the following statements about SOAP is NOT true?

A.

SOAP is a request-/response-based protocol.

B.

SOAP can be transported using SMTP, HTTP and other protocols.

C.

SOAP requires developers to use WSDL.

D.

SOAP traffic via HTTP can be encrypted and compressed just like other HTTP requests.

Which of the following encryption standards provides symmetric key encryption? (Choose 2)

A.

AES

B.

Blowfish

C.

DES

D.

RSA