Attend MockTest

  1. What does PHP stand for ?





  2. Which of the following magic constant of PHP returns function name





  3. Which of the following function is used to locate a string within a string ?





  4. Which of the following variable is used for the PHP script name ?





  5. Which of the following function checks if a specified value exists in an array ?





  6. Which of the following is used to set cookies ?





  7. Which of the following is used to destroy the session ?





  8. Which of the following method of Exception class returns array of the backtrace ?





  9. Which of the following method can be used to close a MySQL database using PHP ?





  10. PHP numerically indexed array begin with position





  11. Which of the functions is used to sort an array in descending order ?





  12. Which of the following are correct ways of creating an array ?





  13. Which function will return true if a variable is an array or false if it is not ?





  14. Which in-built function will add a value to the end of an array ?





  15. Which function can be used to move the pointer to the previous array position ?