mysqli_get_server_version.phpt
来自「linux下安装不上mysql5与php5的可用此关联」· PHPT 代码 · 共 23 行
PHPT
23 行
--TEST--mysqli_get_server_version()--SKIPIF--<?php require_once('skipif.inc'); ?><?php require_once('skipifemb.inc'); ?>--FILE--<?php include "connect.inc"; if (!is_null($tmp = @mysqli_get_server_version())) printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); if (!is_null($tmp = @mysqli_get_server_version(NULL))) printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); require "table.inc"; if (!is_int($info = mysqli_get_server_version($link)) || (0 === $info)) printf("[003] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info); print "done!";?>--EXPECTF--done!
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?