Lines Matching refs:PDO
2 PDO PgSQL Bug #33876 (PDO misquotes/miscasts bool(false))
14 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
24 $res->bindValue(1, false, PDO::PARAM_BOOL);
28 print_r($res->fetchAll(PDO::FETCH_ASSOC));
31 $res->bindValue(1, true, PDO::PARAM_BOOL);
35 print_r($res->fetchAll(PDO::FETCH_ASSOC));
43 print_r($res->fetchAll(PDO::FETCH_ASSOC));
45 # Expected to fail; unless told otherwise, PDO assumes string inputs
50 print_r($res->fetchAll(PDO::FETCH_ASSOC));
57 PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT => true));
60 $res->bindValue(1, false, PDO::PARAM_BOOL);
64 print_r($res->fetchAll(PDO::FETCH_ASSOC));
67 $res->bindValue(1, true, PDO::PARAM_BOOL);
71 print_r($res->fetchAll(PDO::FETCH_ASSOC));
79 print_r($res->fetchAll(PDO::FETCH_ASSOC));
81 # Expected to fail; unless told otherwise, PDO assumes string inputs
89 print_r($res->fetchAll(PDO::FETCH_ASSOC));