Facebook Tracking Pixel
W1siziisijiwmtkvmdevmtgvmtuvntevmtcvndu5l0jmt0cgagvhzgvykdmplnbuzyjdlfsiccisinrodw1iiiwimtuwmhg2mdbcdtawm2mixv0

30 Questions you are likely to be asked in a PHP Interview

30 Questions you are likely to be asked in a PHP Interview

Could you answer these 30 PHP Developer questions? 2 minute read.

'Ensure you smash that PHP interview and land your dream job'

With an average salary of £45,000, PHP Developers are widely needed in the market, offering huge job opportunities.

To ensure you smash that PHP interview and land your dream job, we’ve selected some key PHP questions you should expect and be prepared for during your interview.

Although many may appear simple, remember, the interviewer will be looking for more than just a basic understanding. They’ll be interested in your depth of knowledge and critical thinking ability, while being put under a mild amount of pressure.

 

30 Questions you are likely to be asked in a PHP Interview:

  1. What are PHP sessions and how do they work?
  2. How are classes loaded in PHP?
  3. Explain the difference between classes and interfaces.
  4. What are some of your favourite PHP design patterns?
  5. What is PEAR in PHP?
  6. Explain the difference b/w static and dynamic websites?
  7. What is the name of scripting engine in PHP?
  8. Name some popular frameworks in PHP
  9. What is “echo” in PHP?
  10. What is “print” in PHP?
  11. What’s the difference between include and require?
  12. How many data types are there in PHP?
  13. What is the array in PHP?
  14. How many types of array are there in PHP?
  15. Explain some of the PHP array functions…
  16. What is a session?
  17. How to initiate a session in PHP?
  18. When do sessions end?
  19. Compare PHP and Java
  20. What is the meaning of a Persistent Cookie?
  21. How do you encrypt password using PHP?
  22. How do you execute a PHP script from the command line?
  23. What are the most two common way to start and finish a PHP block of code?
  24. What is the main difference between PHP 4 and PHP 5?
  25. What is the meaning of a final class and a final method?
  26. What does $GLOBALS mean?
  27. What does $_ENV mean?
  28. What are the three classes of errors that can occur in PHP?
  29. Is it possible to destroy a cookie?
  30. What is the default session time in PHP?

Browse our current PHP Developer roles or get in touch with IT Divisional Manager, Sam at Sam@hewett-recruitment.co.uk for more information.