Lines Matching refs:PDO
2 PDO Common: Bug #44173 (PDO->query() parameter parsing/checking needs an update)
26 // Bug entry [2] -- 1 is PDO::FETCH_LAZY
27 $stmt = $db->query("SELECT * FROM test", PDO::FETCH_LAZY, 0, 0);
37 $stmt = $db->query("SELECT * FROM test", PDO::FETCH_CLASS, 0, 0, 0);
42 $stmt = $db->query("SELECT * FROM test", PDO::FETCH_INTO);
47 $stmt = $db->query("SELECT * FROM test", PDO::FETCH_COLUMN);
52 $stmt = $db->query("SELECT * FROM test", PDO::FETCH_CLASS);
58 Warning: PDO::query() expects at least 1 parameter, 0 given in %s
61 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode doesn't allow any extra arguments…
64 Warning: PDO::query(): SQLSTATE[HY000]: General error: mode must be an integer in %s
67 Warning: PDO::query(): SQLSTATE[HY000]: General error: too many arguments in %s
70 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the object parameter in …
73 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the colno argument in %s
76 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the classname argument i…