X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fencoding001.phpt;h=b4067bcebde53ec7a42c4241d477e63d06631585;hb=a5adaca46ac66d6aeed929d655d1ea707adfc4ee;hp=53bcef5f6222751c29073084658e8f634778cb7a;hpb=377250ea430e2439d99ee519a95845b036b2090e;p=m6w6%2Fext-pq 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;