You should always close a file in PHP using the fclose() function after you're done with it.

  • TRUE
  • FALSE
  • nan
  • nan
In PHP, it is good practice to always close a file using the fclose() function after you have finished working with it. This ensures that the file resources are released, memory is freed up, and it helps prevent resource leaks.
Add your answer
Loading...

Leave a comment

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