A

Admin • 828.03K Points
Coach

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

  • (A) file_get_contents()
  • (B) fopen()
  • (C) fread()
  • (D) read_file()
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
file_get_contents() reads the entire file into a string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.