php-8.0.30-src/ext/pgsql/tests/no_link_open.phpt

15 lines
204 B
PHP

--TEST--
Using pg function with default link while no link open
--FILE--
<?php
try {
pg_dbname();
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
No PostgreSQL link opened yet