mysqli_debug

Performs debugging operations (PHP 5)
bool mysqli_debug ( string debug )

The mysqli_debug() function is used to perform debugging operations using the Fred Fish debugging library. The debug parameter is a string representing the debugging operation to perform.

注意:

To use the mysqli_debug() function you must complile the MySQL client library to support debugging.

返回值

mysqli_debug() doesn't return any value.

范例

例 1262. Generating a Trace File

<?php
   
/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */
mysqli_debug("d:t:0,/tmp/client.trace");
   
?>