Q. Which of these is the correct way to create a comment block in PHP?

  • (A) /* comment */
  • (B) // comment //
  • (C) # comment #
  • (D) <!-- comment -->
πŸ’¬ Discuss
βœ… Correct Answer: (A) /* comment */
Explanation: Block comments are written as /* comment */ in PHP.
Explanation by: Rati Dubey
Block comments are written as /* comment */ in PHP.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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