Which of the following functions are related to file handling in PHP?

  • fopen() and fclose()
  • read() and write()
  • include() and require()
  • print() and echo()
The functions fopen() and fclose() are related to file handling in PHP. fopen() is used to open a file, while fclose() is used to close a file. These functions are essential for file operations in PHP. The other options mentioned are not directly related to file handling.
Add your answer
Loading...

Leave a comment

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