PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<mysqli_data_seekmysqli_disable_reads_from_master>
Last updated: Mon, 16 Jul 2012

mysqli_debug

(PHP 5)

mysqli_debug -- Performs debugging operations

Description

bool mysqli_debug ( string debug )

The mysqli_debug() function is used to perform debugging operations using the Fred Fish debugging library. The debug parameter is a string representing the debugging operation to perform.

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

返回值

mysqli_debug() doesn't return any value.

例子 1. Generating a Trace File

<?php
  
/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */
mysqli_debug("d:t:0,/tmp/client.trace");
  
?>




<mysqli_data_seekmysqli_disable_reads_from_master>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST