xref: /PHP-8.1/ext/mysqli/tests/070.phpt (revision b5a14e6c)
1--TEST--
2mysqli ping
3--EXTENSIONS--
4mysqli
5--SKIPIF--
6<?php
7require_once('skipifconnectfailure.inc');
8?>
9--FILE--
10<?php
11    require_once("connect.inc");
12
13    $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
14    var_dump($mysql->ping());
15    $mysql->close();
16    print "done!";
17?>
18--EXPECT--
19bool(true)
20done!
21