From: Michael Wallner Date: Wed, 6 Feb 2013 21:04:19 +0000 (+0100) Subject: simple persistent connection test X-Git-Tag: v0.1.0~19 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=commitdiff_plain;h=352b77694b9b6d9c50f9fcfaa6db34817308d11e;ds=sidebyside simple persistent connection test --- diff --git a/tests/persistent001.phpt b/tests/persistent001.phpt new file mode 100644 index 0000000..b2c72c3 --- /dev/null +++ b/tests/persistent001.phpt @@ -0,0 +1,34 @@ +--TEST-- +persistent handles +--SKIPIF-- + +--FILE-- +exec(""); +} +var_dump(raphf\stat_persistent_handles()->{"pq\\Connection"}); +?> +DONE +--EXPECTF-- +Test +array(1) { + ["%s"]=> + array(2) { + ["used"]=> + int(1) + ["free"]=> + int(2) + } +} +DONE