πŸ“Š PHP
Q. Which of the following functions is used to output text in PHP?
  • (A) print()
  • (B) echo
  • (C) write()
  • (D) Both echo and print()
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both echo and print()

Explanation: Both echo and print() are used to output data in PHP. echo is faster and can take multiple parameters, while print() always returns 1.

Explanation by: Rati Dubey
Both echo and print() are used to output data in PHP. echo is faster and can take multiple parameters, while print() always returns 1.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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