1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00
Files
archived-php-src/ext/pgsql/tests/no_link_open.phpt
2021-06-14 14:52:44 +02:00

17 lines
231 B
PHP

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