Current Location: Home> Function Categories> mysqli::dump_debug_info

mysqli::dump_debug_info

(mysqli_dump_debug_info) Dump debug information into the log
Name:mysqli::dump_debug_info
Category:MySQLi
Programming Language:php
One-line Description:Dump debug information into the log.

Definition and usage

The dump_debug_info() / mysqli_dump_debug_info() function is used to dump debug information into the log.

Example

Example 1 - Object-Oriented Style

Dump debug information into the log:

 <?php
$mysqli = new mysqli ( "localhost" , "my_user" , "my_password" , "my_db" ) ;

$mysqli -> dump_debug_info ( ) ;
?>

Example 2 - Procedural Style

Dump debug information into the log:

 <?php
$con = mysqli_connect ( "localhost" , "my_user" , "my_password" , "my_db" ) ;

mysqli_dump_debug_info ( $con ) ;
?>
Similar Functions
Popular Articles