X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fencoding001.phpt;h=53bcef5f6222751c29073084658e8f634778cb7a;hp=b4067bcebde53ec7a42c4241d477e63d06631585;hb=e125f60f2ca9863a2ad5eb2d5e615fab421c31e4;hpb=b7620687147565388f76031efc820e773232fa34 diff --git a/tests/encoding001.phpt b/tests/encoding001.phpt index b4067bc..53bcef5 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(0, $val); +$c->exec("SELECT 'ßüpä…'")->fetchCol($val); var_dump($val); $tmp = 12345; $c->encoding = $tmp;