1--TEST--
2pg_close() default link after connection variable has been dropped
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?>
14--EXPECT--
15bool(true)
16