install php-pear
[m6w6/ext-pq] / tests / async006.phpt
index 178d78c4adaf68d372aaca00fddd9797104f1969..775c880a43d23855d517afae49f863db57cc6839 100644 (file)
@@ -1,7 +1,10 @@
 --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";
@@ -43,7 +46,7 @@ object(pq\Result)#%d (8) {
   ["fetchType"]=>
   int(0)
   ["autoConvert"]=>
-  int(255)
+  int(65535)
 }
 object(pq\Result)#%d (8) {
   ["status"]=>
@@ -61,7 +64,7 @@ object(pq\Result)#%d (8) {
   ["fetchType"]=>
   int(0)
   ["autoConvert"]=>
-  int(255)
+  int(65535)
 }
 object(pq\Result)#%d (8) {
   ["status"]=>
@@ -79,7 +82,7 @@ object(pq\Result)#%d (8) {
   ["fetchType"]=>
   int(0)
   ["autoConvert"]=>
-  int(255)
+  int(65535)
 }
 object(pq\Result)#%d (8) {
   ["status"]=>
@@ -97,6 +100,6 @@ object(pq\Result)#%d (8) {
   ["fetchType"]=>
   int(0)
   ["autoConvert"]=>
-  int(255)
+  int(65535)
 }
 DONE