The fread() function is used to read the contents of a file in PHP.

  • TRUE
  • FALSE
  • nan
  • nan
Absolutely! In PHP, the fread() function is used to read the contents of a file. It takes the file handle obtained from fopen() as the first parameter and the maximum number of bytes to read as the second parameter. The function returns the content of the file as a string.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *