Q. Which function is used to read a complete file into a string?

  • (A) file_get_contents()
  • (B) fopen()
  • (C) fread()
  • (D) read_file()
πŸ’¬ Discuss
βœ… Correct Answer: (A) file_get_contents()
Explanation: file_get_contents() reads the entire file into a string.
Explanation by: Mr. Dubey
file_get_contents() reads the entire file into a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
103
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate