Annotation of embedaddon/php/ext/mysqli/tests/027.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: function test: mysqli_stat
! 3: --SKIPIF--
! 4: <?php
! 5: require_once('skipif.inc');
! 6: require_once('skipifconnectfailure.inc');
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: require_once("connect.inc");
! 11:
! 12: /*** test mysqli_connect 127.0.0.1 ***/
! 13: $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
! 14:
! 15: $status = mysqli_stat($link);
! 16:
! 17: var_dump(strlen($status) > 0);
! 18:
! 19: mysqli_close($link);
! 20: print "done!";
! 21: ?>
! 22: --EXPECT--
! 23: bool(true)
! 24: done!
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>