X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fencoding001.phpt;fp=tests%2Fencoding001.phpt;h=b4067bcebde53ec7a42c4241d477e63d06631585;hp=53bcef5f6222751c29073084658e8f634778cb7a;hb=b7620687147565388f76031efc820e773232fa34;hpb=377250ea430e2439d99ee519a95845b036b2090e diff --git a/tests/encoding001.phpt b/tests/encoding001.phpt index 53bcef5..b4067bc 100644 --- a/tests/encoding001.phpt +++ b/tests/encoding001.phpt @@ -11,7 +11,7 @@ $c = new pq\Connection(PQ_DSN); var_dump($c->encoding); $c->encoding = "utf8"; var_dump($c->encoding); -$c->exec("SELECT 'ßüpä…'")->fetchCol($val); +$c->exec("SELECT 'ßüpä…'")->fetchCol(0, $val); var_dump($val); $tmp = 12345; $c->encoding = $tmp;