The example of fclose() function in php.
If you have opened any file from your program, then after performing the file operations you must close the file pointer. The fclose() function is used to close the find pointer.
It is used for closing the file pointer returned by fopen() and fsockopen()
It returns True on closing the file pointer
It returns False if unable to close the file pointer
By closing it releases the memory acquired by the file pointer
It works with PHP 4, PHP 5
Code for fclose() Function in PHP
welcome to roseindia
Recommend the tutorial