php fclose() function
Translation results:
adj.Intimate;close;close
vt.off;end;bring close
vi.close;off;end
adv.closely
n.End
Third person singular: closes Present participle: closing Past tense: closed Past participle: closed Comparative: closer Superlative: closest
php fclose() functionsyntax
Function: Close an open file
Syntax: fclose(file)
Parameters:
Parameter | Description |
file | Required. Specifies the file to be closed. |
Description: Returns true if successful, otherwise returns false. The file pointer must be valid and successfully opened via fopen() or fsockopen().
php fclose() functionexample
<?php $file = fopen("./test.txt","r"); echo fclose($file); ?>