πŸ“Š PHP
Q. Which PHP function reads the entire file into a string?
  • (A) file()
  • (B) fread()
  • (C) readfile()
  • (D) file_get_contents()
πŸ’¬ Discuss
βœ… Correct Answer: (D) file_get_contents()

Explanation: file_get_contents() reads file content into a string.

Explanation by: Kanak Sharma
file_get_contents() reads file content into a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
5 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
80%
Success Rate