Zend 200-500 - Zend PHP 5 Certification Exam
Page: 3 / 44
Total 219 questions
Question #11 (Topic: Topic 1)
Which of the following can be registered as entry points with a SoapServer instance
(choose 3)
(choose 3)
A. A single function
B. A single method from a class
C. Multiple functions at once
D. All methods from a class
E. All classes defined in a script
Answer: A,C,D
Question #12 (Topic: Topic 1)
What DOMElement method should be used to check for availability of a non-namespaced
attribute?
attribute?
A. getAttributeNS()
B. getAttribute()
C. hasAttribute()
D. hasAttributeNS()
Answer: C
Question #13 (Topic: Topic 1)
Which of the following data types is implicitly passed by reference in PHP 5 while it is
passed by value in PHP 4?
passed by value in PHP 4?
A. Class
B. String
C. Object
D. Array
Answer: C
Question #14 (Topic: Topic 1)
What is the content of $c after the following code has executed?
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
A. 0
B. 5
C. 8
D. 4
Answer: C
Question #15 (Topic: Topic 1)
Which options do you have in PHP to set the expiry date of a session?
A. Set the session.duration directive in php.ini
B. Set session cookie expiry date locally via session_set_cookie_params()
C. Set session expiry date locally via session_cache_expire()
D. None of the above
Answer: D