Multiple choice php

PHP comments for a single line have the following syntax:

  1. /* comments /*

  2. #

  3. //

  4. ::

  5. A&B

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

PHP supports multiple single-line comment styles: // (C++ style) and # (Shell/Perl style). Therefore, both B and C are correct, making 'A&B' (which likely meant B&C based on the options provided) the intended answer. Option 4341 is for multi-line comments, and 4344 is the scope resolution operator.