$stmt = $db->prepare("SELECT * FROM tblTable WHERE intStuff = ?");
$stmt->bindInt(1, 9);
$stmt->fetchOne();
Falls through to:
private function process($arr_params = NULL)
{
if (NULL === $arr_params) {
if ($this->int_state === self::STATE_BOUND) {
$str_sql = preg_replace_callback("/\?(\w+)/", array($this, 'replaceTypedParams'), $this->str_prepare_sql);
But the preg_replace_callback will find nothing and therefore no params are bound. Looking into reasonable fixes....