diff options
Diffstat (limited to 'ext/mysqli/tests/035.phpt')
| -rw-r--r-- | ext/mysqli/tests/035.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/mysqli/tests/035.phpt b/ext/mysqli/tests/035.phpt new file mode 100644 index 0000000000..34af7c0a56 --- /dev/null +++ b/ext/mysqli/tests/035.phpt @@ -0,0 +1,19 @@ +--TEST-- +function test: mysqli_get_server_info +--FILE-- +<?php + $user = "root"; + $passwd = ""; + + + /*** test mysqli_connect 127.0.0.1 ***/ + $link = mysqli_connect("localhost", $user, $passwd); + + $sinfo = substr(mysqli_get_server_info($link),0,1); + + var_dump($sinfo); + + mysqli_close($link); +?> +--EXPECT-- +string(1) "4" |
