xref: /PHP-8.3/ext/mysqli/tests/070.phpt (revision a21edc52)
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