better type handling for bool/double params
[m6w6/ext-pq] / tests / reset001.phpt
index 359b1a84c49f62cea63841e281af298f3b277c1a..ac2200e80b33d692da63fedb70751344f75a5943 100644 (file)
@@ -11,6 +11,7 @@ include "_setup.inc";
 $c = new pq\Connection(PQ_DSN);
 $c->reset();
 var_dump($c->status);
+$c->on(pq\Connection::EVENT_RESET, function ($c) { print "RESET!\n"; });
 $c->reset();
 var_dump($c->status);
 
@@ -19,5 +20,6 @@ DONE
 --EXPECT--
 Test
 int(0)
+RESET!
 int(0)
 DONE