fclose Closes an open file pointer &reftitle.description; boolfclose resourcestream The file pointed to by stream is closed. &reftitle.parameters; stream The file pointer must be valid, and must point to a file successfully opened by fopen or fsockopen. &reftitle.returnvalues; &return.success; &reftitle.examples; A simple <function>fclose</function> example ]]> &reftitle.seealso; fopen fsockopen