We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d17bd4a commit 858b38eCopy full SHA for 858b38e
ext/pdo_pgsql/tests/bug_33876.phpt
@@ -44,8 +44,7 @@ if (!$res->execute(array(true)))
44
else
45
print_r($res->fetchAll(PDO::FETCH_ASSOC));
46
47
-# Expected to fail; unless told otherwise, PDO assumes string inputs
48
-# false -> "" as string, which pgsql doesn't like
+# Expected to succeeds; PDO will cast to "0".
49
if (!$res->execute(array(false)))
50
print_r(normalizeErrorInfo($res->errorInfo()));
51
@@ -122,9 +121,11 @@ Array
122
121
)
123
Array
124
(
125
- [0] => 22P02
126
- [1] => 7
127
- [2] => %s: %sboolean%s
+ [0] => Array
+ (
+ [foo] => false
+ )
128
+
129
130
EMUL
131
0 commit comments