function debug_fclose( $fp ) {}

Close the debugging file handle.
Technically, this can be used to close any file handle when the global $debug is set to 1 or true.


  • resource $fp: Debug File handle.

Source code

function debug_fclose( $fp ) {

	global $debug;

	if ( 1 == $debug )

		fclose( $fp );



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: