API16:JStream/ destruct
From Joomla! Documentation
Description
Destructor
{{subst:Description:JStream/__destruct}}
Syntax
__destruct()
Defined in
libraries/joomla/filesystem/stream.php
Importing
jimport( 'joomla.filesystem.stream' );
Source Body
function __destruct()
{
// attempt to close on destruction if there is a file handle
if($this->_fh) @$this->close();
}
{{subst:SeeAlso:JStream/__destruct}}
Examples
<CodeExamplesForm />