Exam number:200-500
Exam name: Zend PHP 5 Certification
Vendor:zend
question and answers:219 Q&A
latest update: August 18th 2009( With the Q&Aupdate, the time is also changing)
10. Which parts of the text are matched in the following regular expression?
1 <?php
2 $text = <<<EOT
3 The big bang bonged under the bung.
4 EOT;
5
6 preg_match_all('@b.n?g@', $text, $matches);
7 ?>
A. bang bong bung
B. bang bonged bung
C. big bang bong bung
D. big bang bung
Answer: C
11. Which of the following can be registered as entry points with a SoapServer instance (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: ACD
12. What DOMElement method should be used to check for availability of a non-namespaced attribute?
A. getAttributeNS()
B. getAttribute()
C. hasAttribute()
D. hasAttributeNS()
Answer: C