PHP PHP Basics Getting to Know PHP PHP Comments

William Twiner
William Twiner
2,605 Points

Question a wrong answer I had

/* */ Surround this question with the special characters required to make this a multi-line comment.

These characters will allow a comment to span multiple lines and contain variable or other code which will NOT be processed. /*

I know three types of comments

  1. Single line //
  2. Multi line/* */
  3. Doc block /* * * */

What I am missing in the question above?

Thank you for your help on this.

2 Answers

Karol Gutkowski
Karol Gutkowski
8,659 Points

It might look a bit confusing but what this task wants you to do is to essentially make this whole instruction into a PHP comment. 1st gap: /* and 2nd gap: */ just like you would make a multi-line comment in PHP file.

Moderator Edit: Moved response from comment section to Answer.