Multiple choice

Which of the following is not a comment style in PHP?

  1. //

  2. <!__ __>

  3. /* */

  4. #

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

PHP supports three comment styles: single-line comments using // and #, and multi-line comments using /* */. The syntax is not a valid PHP comment style - it resembles HTML comments but is incorrect for PHP code.