Core PHP interview questions – page 12

373 questions. Tap “Show answer” to check yourself.

Advertisement
  1. What is the main difference between require() and require_once()?

  2. How failures in execution are handled with include() and require() functions?

  3. What is the use of the function ‘imagetypes()’?

  4. What is needed to be able to use image function?

  5. How can PHP and Javascript interact?

  6. What type of operation is needed when passing values through a form or an URL?

  7. How can PHP and HTML interact?

  8. How comparison of objects is done in PHP5?

  9. What is the meaning of a final class and a final method?

  10. Is multiple inheritance supported in PHP?

  11. What is the main difference between PHP 4 and PHP 5?

  12. How can we display the output directly to the browser?

  13. Advertisement
  14. What are the correct and the most two common way to start and finish a PHP block of code?

  15. What is the purpose of the following files having extensions 1) .frm2) .myd 3) .myi? What do these files contain?

  16. How many tables will create when we create table, what are they?

  17. What are the other commands to know the structure of table using MySQL

  18. How many values can the SET function of MySQL take?

  19. What is the maximum length of a table name, database name and field name in MySQL?

  20. What are the advantages of stored procedures, triggers, indexes?

  21. How can we repair a MySQL table?

  22. How can we send mail using JavaScript?

  23. How can we destroy the cookie?

  24. How can we destroy the session, how can we unset the variable of a session?

  25. How many ways can we get the value of current session id?

  26. Advertisement
  27. How to set cookies in PHP?

  28. What is the difference between Session and Cookie?

  29. What's the difference between include and require?

  30. What is use of count() function in php ?

  31. What is use of in_array() function in php ?

  32. How to declare an array in php?

Advertisement