
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.
Topic in Programming & Coding
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.

3 quizzes

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

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

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