PHP function fclose()
Availability in PHP 4.0
Closes an open file pointer
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$handle |
resource |
not | The file pointer must be valid, and must point to a file successfully opened by fopen or fsockopen. |
Return values
bool
Returns true on success, otherwise false on failure.