Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aster5's avatar

Interview Questions for a PHP Senior Developer

I am going to have several interviews for a PHP Senior Developer position in the near future. Even though I reviewed some concepts and differences between PHP versions and basically everything that includes OOP, SOLID Principles, or Design Patterns, I still consider myself not prepared enough https://vidmate.onl/ .

What are the technical questions that you found to be the most challenging/tricky in an interview?

Which questions did you bump into and did not know how to answer on the Any ideas would be highly appreciated!

0 likes
3 replies
krisi_gjika's avatar

I have bumped into these questions in the past.

  1. Does php have multi inheritance? (with the follow up) How can we do something similar to multi inheritance in php?
  2. What is the difference between a facade and a singleton?
  3. What is the difference between self and static?
  4. Discussing design patterns, such as: repositories, services, builders, ddd, modular design, etc
click's avatar

What do you expect from the Senior Developer? Most of the time a senior developer is a person that can do all the funky coding thing but also support the rest of the team. Look at the bigger picture of the project, thinking of the architecture, guiding the medior / junior team members. Estimating feature request from the (internal) client, breaking it up into understandable projects for others.

So depending your expectations my suggestion would be to not only focus on code related questions but definitely also on his people/project management/leadership/communication skills

What helped me recently is to ask chatgpt some questions, it came up with some good suggestions on the type of questions to ask.

martinbean's avatar

@aster5 To me, a senior developer is someone who does more than write code, so you need to ask them more questions; not just random PHP trivia questions. You need to ask them questions in order to gauge how they work, how they work within a team and aid colleagues, how they solve problems, etc.

Please or to participate in this conversation.