X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fpersistent001.phpt;fp=tests%2Fpersistent001.phpt;h=b2c72c30e57a91f2e1d9e4b0e34ded966b3f5f7a;hb=352b77694b9b6d9c50f9fcfaa6db34817308d11e;hp=0000000000000000000000000000000000000000;hpb=3bb2c115b2e3d14b2de84114dbffc58f3b71fae5;p=m6w6%2Fext-pq 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