All quizzes
Free quiz · 24 questions in the bank

PHP quiz

Test your PHP knowledge with a free interactive quiz — 24 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

How are variables written in PHP?

Questions in this quiz
  1. How are variables written in PHP?
  2. What is PHP primarily used for?
  3. How do you define a function in PHP?
  4. How does PHP typically embed into HTML?
  5. Is PHP loosely or strictly typed by default?
  6. How do you write a single-line comment in PHP?
  7. What is the difference between an indexed and an associative array in PHP?
  8. What does `echo` do in PHP?
  9. What are $_GET and $_POST in PHP?
  10. What is Composer in PHP?
  11. What does `include` (or `require`) do?
  12. What does `$_SESSION` provide?
Gaps to close?
Read the curated PHP notes — core concepts, patterns, interview prep.
PHP notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web