📄 mysqli.debug.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Performs debugging operations</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli.connect.html">mysqli::__construct</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli.dump-debug-info.html">mysqli::dump_debug_info</a></div> <div class="up"><a href="class.mysqli.html">MySQLi</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="mysqli.debug" class="refentry"> <div class="refnamediv"> <h1 class="refname">mysqli::debug</h1> <h1 class="refname">mysqli_debug</h1> <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli::debug</span> -- <span class="refname">mysqli_debug</span> — <span class="dc-title">Performs debugging operations</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <p class="para">Object oriented style (method):</p> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><b>mysqli::debug</b></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$message</tt></span> )</div> <p class="para rdfs-comment">Procedural style:</p> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><b>mysqli_debug</b></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$message</tt></span> )</div> <p class="para rdfs-comment"> Performs debugging operations using the Fred Fish debugging library. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">message</tt></i></span> <dd> <p class="para"> A string representing the debugging operation to perform </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <b><tt>TRUE</tt></b>. </p> </div> <div class="refsect1 notes"> <h3 class="title">Notes</h3> <blockquote><p><b class="note">Note</b>: To use the <b>mysqli_debug()</b> function you must complile the MySQL client library to support debugging. <br /> </p></blockquote> </div> <div class="refsect1 examples"> <h3 class="title">Examples</h3> <p class="para"> <div class="example"> <p><b>Example #1 Generating a Trace File</b></p> <div class="example-contents"><div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB"><?php<br /><br /></span><span style="color: #FF8000">/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */<br /></span><span style="color: #0000BB">mysqli_debug</span><span style="color: #007700">(</span><span style="color: #DD0000">"d:t:0,/tmp/client.trace"</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?></span></span></code></div> </div> </div> </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="mysqli.dump-debug-info.html" class="function" rel="rdfs-seeAlso">mysqli_dump_debug_info()</a></li> <li class="member"><a href="function.mysqli-report.html" class="function" rel="rdfs-seeAlso">mysqli_report()</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli.connect.html">mysqli::__construct</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli.dump-debug-info.html">mysqli::dump_debug_info</a></div> <div class="up"><a href="class.mysqli.html">MySQLi</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -