PHP mysqli: dump_debug_info() function
mysqli_dump_debug_info() function / mysqli::dump_debug_info
The mysqli_dump_debug_info() function /mysqli::dump_debug_info dumps debugging info into the log.
Syntax:
Object oriented style
bool mysqli::dump_debug_info ( void )
Procedural style
bool mysqli_dump_debug_info ( mysqli $link )
Usage: Procedural style
mysqli_dump_debug_info(link);
Parameter:
Name | Description | Required/Optional |
---|---|---|
link | A link identifier returned by mysqli_connect() or mysqli_init() | Required |
Return value:
Returns TRUE on success or FALSE on failure.
Version: PHP 5, PHP 7
Example of object oriented style:
<?php
$con = mysqli_connect("localhost","user1","datasoft123","hr");
mysqli_dump_debug_info($con);
?>
See also
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://www.w3resource.com/php/function-reference/mysqli_dump_debug_info.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics