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
<?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
2016-02-24 16:18:59
Comments
Leave a Comment

Please login to continue.