--TEST-- resultset constructor --SKIPIF-- --FILE-- execute(); $stmt->bind_result($foo); $stmt->fetch(); $stmt->close(); $mysql->close(); var_dump($foo); ?> --EXPECTF-- string(3) "foo"