πŸ“Š PHP
Q. Which function is used to read a file into a string?
  • (A) file_get_contents()
  • (B) fread()
  • (C) read_file()
  • (D) get_file()
πŸ’¬ Discuss
βœ… Correct Answer: (A) file_get_contents()

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

Explanation by: Rati Dubey
file_get_contents() reads a file into a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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