--TEST--
async unbuffered exec
--SKIPIF--
-<?php include "_skipif.inc"; ?>
+<?php
+include "_skipif.inc";
+defined("pq\\Result::SINGLE_TUPLE") or die("skip need pq\\Result::SINGLE_TUPLE");
+?>
--FILE--
<?php
echo "Test\n";
DONE
--EXPECTF--
Test
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (8) {
["status"]=>
int(9)
+ ["statusMessage"]=>
+ string(12) "SINGLE_TUPLE"
["errorMessage"]=>
string(0) ""
["numRows"]=>
int(0)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (8) {
["status"]=>
int(9)
+ ["statusMessage"]=>
+ string(12) "SINGLE_TUPLE"
["errorMessage"]=>
string(0) ""
["numRows"]=>
int(0)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (8) {
["status"]=>
int(9)
+ ["statusMessage"]=>
+ string(12) "SINGLE_TUPLE"
["errorMessage"]=>
string(0) ""
["numRows"]=>
int(0)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (8) {
["status"]=>
int(2)
+ ["statusMessage"]=>
+ string(9) "TUPLES_OK"
["errorMessage"]=>
string(0) ""
["numRows"]=>
int(3)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
-DONE
\ No newline at end of file
+DONE