4 <?php include "_skipif.inc"; ?>
11 $c = new pq\Connection(PQ_DSN);
12 $t = new pq\Types($c);
13 $c->execParamsAsync("SELECT \$1,\$2::int4", array(1,2), array($t["int4"]->oid), function ($res) {
18 $r = array($c->socket);
20 if (stream_select($r, $w, $e, null)) {
24 } while ($c->getResult());
30 object(pq\Result)#%d (8) {