debug_fclose

Close the debugging file handle.

Description

debug_fclose( (mixed) $fp ); 

Parameters (1)

0. $fp (mixed)
The fp.

Usage

  1. if ( !function_exists( 'debug_fclose' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4. // The fp. 
  5. $fp = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = debug_fclose($fp); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function debug_fclose( $fp ) { 
  2. _deprecated_function( __FUNCTION__, 'error_log()' );