xref: /PHP-8.0/ext/pgsql/tests/no_link_open.phpt (revision 8f415d44)
1--TEST--
2Using pg function with default link while no link open
3--FILE--
4<?php
5
6try {
7    pg_dbname();
8} catch (Error $e) {
9    echo $e->getMessage(), "\n";
10}
11
12?>
13--EXPECT--
14No PostgreSQL link opened yet
15