mysqli_debug.phpt

来自「linux下安装不上mysql5与php5的可用此关联」· PHPT 代码 · 共 26 行

PHPT
26
字号
--TEST--mysqli_debug()--SKIPIF--<?php require_once('skipif.inc'); ?><?php require_once('skipifemb.inc'); if (!function_exists('mysqli_debug'))  die("skip: mysqli_debug() not available");?>--FILE--<?php    include "connect.inc";    $tmp    = NULL;       $link   = NULL;           if (NULL !== ($tmp = @mysqli_debug()))        printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);    // NOTE: documentation is not clear on this: function always return NULL or TRUE    if (true !== ($tmp = mysqli_debug("d:t:O,/tmp/client.trace")))        printf("[002] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);            print "done!\n"; ?>--EXPECTF--done!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?