mysqli::debug
mysqli_debug
(PHP 5)
mysqli::debug -- mysqli_debug — Performs debugging operations
Descrizione
Stile orientato agli oggetti
bool mysqli::debug
( string
$message
)Stile procedurale
bool mysqli_debug
( string
$message
)Performs debugging operations using the Fred Fish debugging library.
Elenco dei parametri
-
message -
A string representing the debugging operation to perform
Valori restituiti
Returns TRUE.
Note
Nota:
To use the mysqli_debug() function you must compile the MySQL client library to support debugging.
Esempi
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");
?>
Vedere anche:
- mysqli_dump_debug_info() - Dump debugging information into the log
- mysqli_report() - Alias di of mysqli_driver->report_mode
There are no user contributed notes for this page.
