mysqli::debug

(PHP 5, PHP 7)
Performs debugging operations
bool mysqli::debug ( string $message )

Object oriented style

Procedural style

bool mysqli_debug ( string $message )

Performs debugging operations using the Fred Fish debugging library.

Parameters:
message

A string representing the debugging operation to perform

Returns:

Returns TRUE.

Notes:

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

Examples:
Generating a Trace File
1
2
3
4
5
6
<?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() -

mysqli_report() -

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.