This function has been deprecated. Use error_log() instead.

debug_fopen( string $filename, string $mode )

Open the file handle for debugging.


Description

See also


Parameters

$filename

(Required) File name.

$mode

(Required) Type of access you required to the stream.


Return

(false) Always false.


Source

File: wp-includes/deprecated.php

function debug_fopen( $filename, $mode ) {
	_deprecated_function( __FUNCTION__, 'WP-3.4.0', 'error_log()' );
	return false;
}


Changelog

Changelog
Version Description
WP-3.4.0 Use error_log()
WP-0.71 Introduced. This function has been deprecated. Use error_log() instead.