Multiple choice technology web technology

All variables in PHP start with which symbol?

  1. @

  2. #

  3. &

  4. $
  5. %

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

PHP variables always begin with the $ sign. This is a fundamental syntax rule in PHP that distinguishes variables from other language elements. The @ symbol is used to suppress error messages, & is used for variable references, and % is the modulo operator.