a programmer in work, he has no less than four screens in front of him, performing some software testing. The code is written in PHPYou interview for a job of a programmer (or software developer). Good knowledge of PHP is one the job requirements.

In this scenario, you will likely have to answer some technical questions in your interview.

Keep in mind though, that the interviewers care for more than just your technical skills, and your knowledge of PHP.

Would you fit into their team of developers? Do you have the right attitude to work? How would you handle the pressure in the job? What motivates you to work hard? They will ask you screening and behavioral questions to find the answers.

In this article, however, we focus on technical questions that relate to PHP. Check the list below and try to answer the questions.


List of common PHP interview questions

  1. Does PHP have support for Unicode? If not, why can it support Unicode?
  2. Is PHP naturally compatible with 64-bit Windows platform? If not, is it possible to use PHP on these operating systems, and what is the trick to do that?
  3. What is the current version of PHP, and how does it differ to older versions?
  4. Can you define LAMP architecture?
  5. If you should asses the security level of PHP application and dynamic websites, how many points on a scale from 0 to 10 would you give?
  6. If you should pick three most important PHP functions, what would you pick?
  7. PHP source code is compiled “on the fly”. Can you explain this sentence in a way that someone who has never worked with the code before will understand what you are saying?
  8. Do you know what is Phalanger and what is it function in PHP?
  9. Try to compare PHP and c++. What are the advantages and disadvantages of each language?
  10. What is the command to create MySQL database using PHP and MySWL?
  11. Define the difference between mysql_fetch_object and mysql_fetch_array.
  12. Is there any way to submit a form in php without using the submit button?
  13. Header(). For what is this function used in PHP language?
  14. Is there any way to configure PayPal checkout on a dynamic website? Try to describe the process step by step.
  15. Can you write a code of a very simple dynamic web page? Try to write the code in 10 minutes.
  16. Can you name the advantages of object oriented programming?
  17. Name at least three types of errors in PHP.
  18. Is there any way to convert different time zones of final users in PHP?
  19. What is the command to increase the execution time in PHP?
  20. What is the difference between ereg_replace() and eregi_replace()?
  21. Is there any way to make a script that supports both English and Spanish in PHP?
  22. What is Revoke command use for in PHP? Can you write a syntax of this command?



Two men in an interview, one has a nice tie with black and silver stripes (horuizontal), and the job candidate wears glasses.Knowledge of PHP belongs to the arsenal of every good software developer. To demonstrate your readiness for the job with good answers to technical questions is a must, and you won’t succeed unless you do so.

However, keep in mind that success or failure in an interview depends on many other factors, such as the impression you make on the interviewers, your answers to non-technical questions, and also the quality of other people who compete with you for the job. The better you prepare for your interview, the more likely will outclass your competitors, and sign a new job contract.

Continue your interview preparation with one of the following articles