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

  • (A) // comment
  • (B) # comment
  • (C) /* comment */
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above
Explanation: PHP supports //, #, and /* */ styles for comments.
Explanation by: Rati Dubey
PHP supports //, #, and /* */ styles for comments.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
79
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
81%
Success Rate