1. Which one of the following statements can be used to establish port 80 connection with www.nachi.com?
2. Which one of the following function is used to send an email using PHP script?
3. How many configuration directives pertinent to PHP’s mail function are available?
Correct Answer is : sampdb.PI()
4. Which of the following statements is used to add an attachment to the mail?
Correct Answer is : CREATE ROUTINE
5. Which version of PHP introduced the static keyword?
Correct Answer is : automatic_sp_privileges
6. Which keyword is used to access a static method or property from within the same class(rather than from child)?
Correct Answer is : INOUT
7. In which of the following circumstance should you use a static reference to a non static method?
8. Which one of the following variable cannot be used inside a static method?
Correct Answer is : deterministic
9. What does PDO stand for?
Correct Answer is : action
10. Which version of PHP allows you to define constant properties within a class?
Correct Answer is : 65535
11. Which keyword is used to declare a constant property?
12. Which one of the following is a constant variable?
Correct Answer is : PAD_CHAR_TO_FULL_LENGTH
13. What will happen if you try to set a value to a constant once it has been declared?
14. How many of the following can be contained in constants?
i) boolean
ii) integer
iii) float
iv) string
Correct Answer is : –single-transaction
15. Which one of the following class can not be instantiated?
Correct Answer is : mysqlimport
16. Which one of the following keywords is used to define an abstract class?
Correct Answer is : FALSE
17. Which one of the following is the correct abstract method?
Correct Answer is : Statement based
18. At least how many abstract methods must an abstract class contain?
Correct Answer is : my_sys.h
19. Which one of the following keyword is used to implement an interface?
Correct Answer is : my_global.h
20. Which version of PHP introduced the concept called late static binding?
Correct Answer is : FALSE