2007-07-23 20:38:41 +08:00
|
|
|
--TEST--
|
|
|
|
mysqli_get_client_info()
|
|
|
|
--SKIPIF--
|
2009-10-20 04:07:25 +08:00
|
|
|
<?php
|
|
|
|
require_once('skipif.inc');
|
2007-08-09 18:01:20 +08:00
|
|
|
require_once('skipifemb.inc');
|
|
|
|
require_once('skipifconnectfailure.inc');
|
|
|
|
?>
|
2007-07-23 20:38:41 +08:00
|
|
|
--FILE--
|
|
|
|
<?php
|
2009-10-20 04:07:25 +08:00
|
|
|
require_once("connect.inc");
|
2007-07-23 20:38:41 +08:00
|
|
|
if (!is_string($info = mysqli_get_client_info()) || ('' === $info))
|
|
|
|
printf("[001] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
|
|
|
|
|
|
|
|
print "done!";
|
|
|
|
?>
|
2018-02-19 16:59:41 +08:00
|
|
|
--EXPECT--
|
2018-10-15 10:33:09 +08:00
|
|
|
done!
|