while ($c->busy) {
$r = array($c->socket);
$w = $e = null;
- if (stream_select($r, $w, $e, null)) {
+ if (stream_select($r, $w, $e, 1, 1000)) {
$c->poll();
}
}
["numCols"]=>
int(1)
["affectedRows"]=>
- int(1)
+ int(%d)
["fetchType"]=>
int(0)
["autoConvert"]=>
- int(255)
+ int(65535)
}
object(pq\Result)#%d (8) {
["status"]=>
["numCols"]=>
int(3)
["affectedRows"]=>
- int(1)
+ int(%d)
["fetchType"]=>
int(0)
["autoConvert"]=>
- int(255)
+ int(65535)
}
DONE