1. What will be the output of the following PHP code?
Correct Answer is : SESSION
2. What will be the output of the following PHP code?
\n"); ?>
Correct Answer is : identity
3. What will be the output of the following PHP code?
Correct Answer is : integer
4. What will be the output of the following PHP code?
Correct Answer is : FALSE
5. What will be the output of the following PHP code?
Correct Answer is : –force
6. What will be the output if we replace the line $num = preg_grep(“/[0-5]/”, $number); with $num = preg_grep(“/[0-5]/”, $number, PREG_GREP_INVERT);?
7. Which one of the following functions is used to search a string?
8. What will be the output of the following PHP code?
Correct Answer is : pointer
9. Which one of the following preg PHP function is used to do a find and replace on a string or an array?
Correct Answer is : FALSE
10. What will be the output of the following PHP code?
Correct Answer is : MyISAM
11. Which one of the following preg PHP functions is used to take a string, and put it in an array?
Correct Answer is : MEMORY
12. What will be the output of the following PHP code?
Correct Answer is : key cache
13. Which one of the following is not a preg PHP function?
Correct Answer is : table_cache
14. Parameter flags was added in which version of PHP?
15. What is the full form of DNS?
Correct Answer is : column name
16. Which one of the following function checks for the existence of DNS records?
17. Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
Correct Answer is : -1.58
18. Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
19. What is the default port number of HTTPs?
20. Which one of the following function returns the port number of a specified service?
Correct Answer is : CREATE FUNCTION