1. You work for a shared hosting provider, and your supervisor asks you to disable user scripts to
dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
A. Set enable_dl to Off in the server's php.ini configuration file.
B. Add dl to the current value of disable_functions in the server's php.ini configuration file.
C. Add dl to the current value of disable_classes in the server's php.ini configuration file.
D. Write a custom function called dl(), save it under the name prepend.inc and then set the
auto_prepend_file directive to prepend.inc in php.ini.
Answer: AB
2. Which of the following statements is NOT true?
a) Class constants are public
b) Class constants are being inherited
c) Class constants can omit initialization (default to NULL)
d) Class constants can be initialized by consts
A. a)
B. b)
C. c)
D. d)
Answer: C
3. Type hinting in PHP allows the identification of the following variable types: (Choose 2)
A. String
B. Integer
C. Array
D. Any class or interface type
Answer: CD
4. How many elements does the $matches array contain after the following function call is performed?
preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/', '21st March
2006', $matches);
A. 1
B. 2
C. 3
D. 4
Answer: C
Zend PHP 5 Certification(200-500) belongs to one of the Zend certified test, if needs to obtain the Zend certificate, you also need to participate in other related test, the details you may visit the Zend certified topic, in there, you will see all related Zend certified subject of examination.