1--TEST-- 2Reopen connection after it was closed 3--SKIPIF-- 4<?php include("skipif.inc"); ?> 5--FILE-- 6<?php 7include('config.inc'); 8 9/* Run me under valgrind */ 10$db1 = pg_connect($conn_str); 11unset($db1); 12var_dump(pg_close()); 13$db2 = pg_connect($conn_str); 14unset($db2); 15var_dump(pg_close()); 16?> 17--EXPECT-- 18bool(true) 19bool(true) 20