A

Admin • 833K Points
Coach

Q. How do you add a comment in PHP?

  • (A) // This is a comment
  • (B) # This is a comment
  • (C) /* This is a comment */
  • (D) All of the above
  • Correct Answer - Option(D)
  • Views: 24
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

PHP supports single line (// or #) and multi-line (/* */) comments.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.