Annotation of embedaddon/php/ext/mysqli/tests/bug55859.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #55859 mysqli->stat property access gives error
! 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: if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
! 13: printf("[001] Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
! 14: }
! 15: var_dump(mysqli_stat($link) === $link->stat);
! 16: echo "done!";
! 17: ?>
! 18: --EXPECT--
! 19: bool(true)
! 20: done!
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>