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