Core PHP interview questions – page 11

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

Advertisement
  1. How can I execute a PHP script using command line?

  2. What is use of header() function in php ?

  3. What are the different tables(Engine) present in MySQL, which one is default?

  4. Can we use include (“xyz.PHP”) two times in a PHP page “index.PHP”?

  5. What are the differences between require and include?

  6. How can we create a database using PHP and MySQL?

  7. What are the differences between Get and post methods.

  8. using PHP? What is the difference between mysql_fetch_object and mysql_fetch_array ?

  9. In how many ways we can retrieve the data in the result set of MySQL

  10. How do you connet mysql database with PHP ?

  11. Is variable name casesensitive ? could we start a variale with number like $name ? What is the difference between $name and $$name?

  12. What are the differences between PHP3 and PHP4 and PHP5 ? what is the current stable version of PHP ? what advance thing in php6

  13. Advertisement
  14. What is Full form of PHP ? Who is the father or inventor of PHP ?

  15. What is the current version of PHP and MYSQL?

  16. What is an efficient way to combine two variables in PHP?

  17. Can you tell me whether objects are passed by value or by reference?

  18. How many times is it possible to use an include function in a PHP page?

  19. Is it possible to create a database using PHP and MySQL?

  20. Is it possible to know details about the browser being used to view a PHP website?

  21. What is the difference between GET and POST functions?

  22. What is a CAPTCHA & when do you use it?

  23. How to stop the execution of the php script?

  24. List out the top frameworks which are used in PHP?

  25. What you can do with PHP?

  26. Advertisement
  27. How can we get the browser properties using PHP?

  28. How can we register the variables into a session?

  29. What is the difference between the functions unlink and unset?

  30. What is meant by urlencode and urldecode?

  31. How can we submit a form without a submit button?

  32. Who is the father of PHP and explain the changes in PHP versions?

Advertisement