πŸ“Š PHP
Q. Which of the following is the correct way to write a single-line comment in PHP?
  • (A) # This is a comment
  • (B) // This is a comment
  • (C) /* This is a comment */
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Explanation: PHP supports #, // for single-line comments and /* */ for multi-line comments.

Explanation by: Rati Dubey
PHP supports #, // for single-line comments and /* */ for multi-line comments.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
55
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
97%
Success Rate