πŸ“Š PHP
Q. Which of these functions is used to read a file into an array?
  • (A) file()
  • (B) readfile()
  • (C) fgets()
  • (D) fgetcsv()
πŸ’¬ Discuss
βœ… Correct Answer: (A) file()

Explanation: file() reads the entire file into an array, with each line as an element.

Explanation by: Rati Dubey
file() reads the entire file into an array, with each line as an element.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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