debug_fopen

函式
debug_fopen ( $filename, $mode )
引數
  • (string) $filename File name.
    Required:
  • (string) $mode Type of access you required to the stream.
    Required:
返回值
  • (false) Always false.
相關
  • error_log()
定義位置
相關方法
debug_fclosedebug_fwritewp_debug_modepings_opendelete_blog_option
引入
0.71
棄用
3.4.0

debug_fopen: 這個函式為除錯目的開啟一個檔案。它用於記錄除錯資訊或其他可用於診斷問題的資訊。

開啟用於除錯的檔案控制代碼。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function debug_fopen( $filename, $mode ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
return false;
}
function debug_fopen( $filename, $mode ) { _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' ); return false; }
function debug_fopen( $filename, $mode ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
	return false;
}

常見問題

FAQs
檢視更多 >