Uncategorized

MOST ASKED PHP Interview Questions

Some of the most asked PHP interview questions asked at job interview. Freshers and experienced candidates read this questions and practice well for interview.

To read answers go here – PHP Interview Questions and Answers for Job

  • What is use of header() function in php ?
  • How can I make a script that can be bi-language (supports English, German)?
  • How can we know the number of days between two given dates using PHP?
  • How can we optimize or increase the speed of a MySQL select query?
  • How can I execute a PHP script using command line?
  • How can you enable error using PHP Code?
  • What is the difference between GROUP BY and ORDER BY in Sql?
  • What are the differences between public, private, protected, static, transient, final and volatile?
  • How can we get the browser properties using PHP?
  • How can we encrypt and decrypt a data present in a MySQL table using MySQL?
  • How can I know that a variable is a number or not using a JavaScript?
  • What are the features and advantages of object-oriented programming?
  • How can we register the variables into a session?
  • What is meant by nl2br()?
  • How can we find the number of rows in a table using MySQL?
  • What function is used to convert an array into a string?
  • what is MVC? why its been used?
  • In how many ways we can retrieve the data in the result set of MySQL using PHP?
  • How can we get the properties (size, type, width, height) of an image using PHP image functions?
  • How can we repair a MySQL table?

All the above questions are mostly asked at PHP job interview. Practice well and get success at PHP interview.