Test PHP - Fundamentals

Test PHP with answers to assess your knowledge and prepare for job interviews. Assess your technical level in 20 minutes.

Validate and promote your skills
Private results unless you share them
Compare your results to the developers average

Test details

Beginner
April 2024
11 minutes
4.2/5(82)

This test encompasses a large portion of php 8 fundamentals. It is destined to junior developers who already had an overview of the language and are comfortable with the basic concepts. Most questions can be brought up in a job interview.
Before taking the test, make sure you know each notion. Some questions are about general python culture whereas others are more technical.
Here is the list of the notions contained in this test :

  • popular functions (define, ...)
  • control flow structures (loops, ...)
  • variables (superglobals, globals, scopes, ...)
  • security aspect (filtering user data...)
  • object oriented programming (classes, methods, inheritance,...)
  • handling errors and exceptions
  • generalities on php (frameworks, syntax, operators,...)
    Good luck!
This test consists of 20 questions randomly selected from a database of 48 questions in PHP.Discover all our interview questions and answers here
1.
developer avatar
Haifa Kebaili
2658 points
2.
developer avatar
Grégory
2644 points
3.
developer avatar
Pierre
2606 points
4.
developer avatar
Quentin Bihet
2587 points
5.
developer avatar
Robin
2583 points

Test author : Théo

Student at the French Grande École l'Ensimag, computer science has been my passion for 6 years. I gained some experience in programming with Python, C and C++, in web development with Php, SQL and JS, and in software development with Java. Now aged 20, I am heading into jobs in software development or cybersecurity.
I will soon be joining the Information Systems Engineering courses at Ensimag. However, my formation allows for great versatility in the numerical landscape. Apart from enjoying sports in my free time, I devote much effort to perfectioning my skills in cybersecurity, participating in CTF and Hackathons events physically or online.
Let's get in touch : My linkedin profile.

Contributors10
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
Participate in test improvement

Sample question

What is the main difference between the include and require functions in PHP?

See 48 test questions.

Developers ratings

developer avatar
Mohamed
10/02/2025
developer avatar
Julio RAMAHERISON
31/01/2025
Question très instructif et ce sont direstives
developer avatar
20/01/2025
developer avatar
Cyprian Beauvois
17/01/2025
developer avatar
Simon Lhoir
14/01/2025
Beaucoup der question avec des notions que je n'ai jamais utilisé.