$value) { $bindValues[] = &$params[$index]; } $ok = call_user_func_array([$stmt, 'bind_param'], $bindValues); if ($ok === false) { throw new RuntimeException('task_cert bind_param failed: ' . mysqli_stmt_error($stmt)); } } }