A

Admin • 833K Points
Coach

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

  • (A) file()
  • (B) fopen()
  • (C) readfile()
  • (D) file_get_contents()
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

The file() function reads a file into an array line by line.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.