πŸ“Š PHP
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

πŸ‘οΈ
40
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
90%
Success Rate