1--TEST-- 2Bug #66043 (Segfault calling bind_param() on mysqli) 3--SKIPIF-- 4<?php 5require_once('skipif.inc'); 6require_once("connect.inc"); 7if ($IS_MYSQLND) { 8 die("skip libmysql only test"); 9} 10require_once('skipifconnectfailure.inc'); 11?> 12--FILE-- 13<?php 14require 'connect.inc'; 15$db = new mysqli($host, $user, $passwd, 'mysql'); 16 17$stmt = $db->stmt_init(); 18$stmt->prepare("SELECT User FROM user WHERE password=\"\""); 19$stmt->execute(); 20$stmt->bind_result($testArg); 21echo "Okey"; 22?> 23--EXPECTF-- 24Okey 25