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

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web