Lines Matching refs:st
22 $st = $pdo->prepare('SELECT ?::char as i');
23 $st->bindValue(1, '1');
24 $st->execute();
25 var_dump($st->fetch()); // return false
28 $st = $pdo->prepare('SELECT (?)::char as i');
29 $st->bindValue(1, '1');
30 $st->execute();
31 var_dump($st->fetch()); // return array(1) { ["i"]=> string(1) "1" }
35 $st = $pdo->prepare("SELECT :int::int as i");
36 $st->execute(array(":int" => 123));
37 var_dump($st->fetch());
39 $st = $pdo->prepare("SELECT '''?'''::text as \":text\"");
40 $st->execute();
41 var_dump($st->fetch());