X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fbasic002.phpt;h=e43b27d453f60ff8fa5cd05669dfe46dd4b29331;hp=a6455ab816575a8f1187924852c74bb194bc5d0b;hb=refs%2Fheads%2Ffix-19;hpb=d4f2435f5b1d4ca6b0a845772fc00efac703a05c diff --git a/tests/basic002.phpt b/tests/basic002.phpt index a6455ab..e43b27d 100644 --- a/tests/basic002.phpt +++ b/tests/basic002.phpt @@ -13,11 +13,13 @@ $s = $c->prepare("test1", "SELECT \$1",array($t["text"]->oid)); $r = $s->exec(array("fooo")); printf("%s\n", $r->errorMessage); -printf("%s\n", $r->fetchCol()); +var_dump($r->fetchCol($val)); +var_dump($val); ?> DONE --EXPECT-- Test -fooo +bool(true) +string(4) "fooo" DONE