A

Admin • 833K Points
Coach

Q. What is the correct way to write a comment in PHP?

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

Explanation by: Admin

PHP supports //, #, and /* */ styles for comments.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.