| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. What will be the output of the following PHP code ? I am learning PHP"?>

Correct Answer is : TRUE

2. What will be the output of the following PHP code ?

Correct Answer is : FALSE

3. What will be the output of the following PHP code ?

Correct Answer is : mysql_real_query()

4. What will be the output of the following PHP code ?

Correct Answer is : mysql_query()

5. What will be the output of the following PHP code ?

Correct Answer is : a non-zero

6. What will be the output of the following PHP code ?

Correct Answer is : 3

7. What will be the output of the following PHP code ?

Correct Answer is : pointer

8. What will be the output of the following PHP code ? India";?>

Correct Answer is : TRUE

9. What will be the output of the following PHP code ?

Correct Answer is : FALSE

10. How many error levels are available in PHP?

Correct Answer is : 2

11. What is the description of Error level E_ERROR?

Correct Answer is : mysql_use_result()

12. Which version of PHP introduced E_STRICT Error level?

Correct Answer is : 3

13. Which character do the error_reporting directive use to represent the logical operator NOT?

Correct Answer is : Rich Text Format

14. Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?

Correct Answer is : fetchrow_array()

15. Which version introduced the function error_get_last()?

Correct Answer is : fetchrow_hashref()

16. Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line?

Correct Answer is : column name

17. Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?

Correct Answer is : fetchrow_arrayref()

18. Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?

Correct Answer is : 3.4E+38

19. Which function is responsible for sending a custom message to the system log?

Correct Answer is : ±1.7976931348623157E+308

20. Which version of PHP was added with Exception handling?

Correct Answer is : FALSE