MYSQLI_DEBUG(3) 1 MYSQLI_DEBUG(3)
mysqli::debug - Performs debugging operations
Object oriented style
SYNOPSIS
bool mysqli::debug (string $message)
DESCRIPTION
Procedural style
bool mysqli_debug (string $message)
Performs debugging operations using the Fred Fish debugging library.
PARAMETERS
o $message
- A string representing the debugging operation to perform
RETURN VALUES
Returns TRUE.
NOTES
Note
To use the mysqli_debug(3) function you must compile the MySQL client library to support debugging.
EXAMPLES
Example #1
Generating a Trace File
<?php
/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */
mysqli_debug("d:t:o,/tmp/client.trace");
?>
SEE ALSO
mysqli_dump_debug_info(3), mysqli_report(3).
PHP Documentation Group MYSQLI_DEBUG(3)