The fclose() function closes an open file.
This function returns TRUE on success or FALSE on failure.
bool fclose ( resource $handle )
The file pointed to by handle is closed.