A

Admin • 802.91K Points
Coach

Q. Which of these functions is used to read a file into an array?

  • (A) file()
  • (B) readfile()
  • (C) fgets()
  • (D) fgetcsv()
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category PHP
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.