debug_fwrite()

最后更新于:2021-11-25 23:36:22

debug_fwrite( mixed$fp, string$string)

Write contents to the file used for debugging.

参数

$fp

(mixed) (Required) Unused.

$string

(string) (Required) Message to log.

源文件

文件: gc-includes/deprecated.php

function debug_fwrite( $fp, $string ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
	if ( ! empty( $GLOBALS['debug'] ) )
		error_log( $string );
}