📄 mysqli_debug.phpt
字号:
--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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -