Annotation of embedaddon/php/ext/mysqli/tests/064.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: NULL binding
! 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: $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
! 13:
! 14: $stmt = new mysqli_stmt($mysql, "SELECT NULL FROM DUAL");
! 15: $stmt->execute();
! 16: $stmt->bind_result($foo);
! 17: $stmt->fetch();
! 18: $stmt->close();
! 19: $mysql->close();
! 20:
! 21: var_dump($foo);
! 22: ?>
! 23: --EXPECT--
! 24: NULL
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>