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