Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics Getting to Know PHP PHP Comments

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.

3 Answers

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.

This confused me, thanks for the answer! I knew the answer but the way the question was asked threw me off.

ah ok perfect. thank you!