Skip to content

Topic in Programming & Coding

PHP

PHP quizzes on variables, strings and arrays, predicting what PHP 8 code prints, and object-oriented PHP with classes, traits and exceptions.

Part of Programming & Coding: 3 quizzes.

Quizzes
3
PHP quizzes

3 quizzes

PHP quizzes

Programming & Coding · PHP

PHP Intermediate Quiz: OOP, Arrays & Error Handling

A PHP OOP quiz: classes, constructor promotion, visibility, traits, static members, exceptions, namespaces, strict types, readonly and the nullsafe operator.

Hard difficulty15 questions~12 min
+150 XPPlay

Programming & Coding · PHP

PHP Code Output Quiz: Predict the Result

PHP output questions for PHP 8: loose comparisons, numeric strings, ??, foreach, array_map() and array_filter(), the spaceship operator, match and isset().

Medium difficulty15 questions~10 min
+120 XPPlay

Programming & Coding · PHP

PHP Basics Quiz: Variables, Types & Syntax

A PHP quiz for beginners: the <?php tag, $variables, echo, string concatenation, single versus double quotes, intdiv(), arrays, count() and strlen().

Easy difficulty15 questions~8 min
+75 XPPlay