fr
fr

40 interview questions on PHP8for developers (2026)

Test your technical skills before an interview of PHP8 with 40 corrected questions. Beginner, Intermediate or Expert level.

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
3837
To review
4
40 questions
Hard
8 votes1426 runs
6 comments

PHP code that throws an error.

Anonymous authorat Jan 4, 2022
Medium
5 votes1223 runs
1 comment

Check if a value is in an array in PHP

Back-end developer
arrays
strings
Anonymous authorat Jan 4, 2022
Medium
5 votes1212 runs2 comments

PHP function with named and positional arguments.

Back-end developer
php
arrays
functions
Anonymous authorat Aug 26, 2024
Easy
5 votes1211 runs0 comment
Medium
4 votes1317 runs2 comments
Medium
4 votes1303 runs2 comments
Easy
4 votes1207 runs0 comment
Hard
3 votes1377 runs
5 comments

PHP code that throws a TypeError

Back-end developer
null
type-hinting
Anonymous authorat Mar 14, 2023
Easy
3 votes1148 runs0 comment
Hard
3 votes1022 runs
3 comments

Write to a nullsafe property in PHP

Back-end developer
nullsafe operator
php
Anonymous authorat Oct 6, 2023
Medium
2 votes1180 runs2 comments

Is this PHP code valid?

Back-end developer
constructor
parameters
Anonymous authorat Jan 4, 2022
Easy
2 votes1149 runs0 comment
Easy
2 votes1146 runs1 comment

What are WeakMap data structures?

Back-end developer
arrays
objects
Anonymous authorat Feb 6, 2024
Easy
2 votes1145 runs0 comment
Medium
2 votes172 runs1 comment
Medium
1 vote1080 runs1 comment
Easy
1 vote774 runs0 comment

Print the class name of a PHP object

Back-end developer
classes
objects
Anonymous authorat Jan 4, 2022