PHP quiz: 60 questions

60 questions from the 15 lessons of PHP Programming. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.

Test yourself

60 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.

How many questions?

What the quiz covers

  1. Your first PHP program (4 questions)
  2. Variables and types (4 questions)
  3. Strings (4 questions)
  4. Input from STDIN (4 questions)
  5. Operators and conditions (4 questions)
  6. Loops (4 questions)
  7. Arrays (4 questions)
  8. Associative arrays (4 questions)
  9. Functions (4 questions)
  10. Scope and closures (4 questions)
  11. String and array functions (4 questions)
  12. Classes and objects (4 questions)
  13. Inheritance, interfaces and traits (4 questions)
  14. Exceptions (4 questions)
  15. Putting it together (4 questions)