![]() ![]() | ![]() |
Initial revision
--TEST-- mysqli ping --SKIPIF-- <?php require_once('skipif.inc'); require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php require_once("connect.inc"); $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); var_dump($mysql->ping()); $mysql->close(); print "done!"; ?> --EXPECT-- bool(true) done!