PHP Manual: fclose
fclose
Parameters
handleThe file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen().
handleThe file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen().