|bool fclose ( resource $handle );|
Definition and Usage
The file pointed to by handle is closed.
|handle||The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen().|
Returns TRUE on success or FALSE on failure.
Following is the usage of this function:
<?php $handle = fopen('example.txt', 'r'); fclose($handle); ?>
Post a Comment