1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00
Files
archived-php-src/ext/pgsql/tests/no_link_open.phpt
Máté Kocsis 32aff25ceb Convert resources to objects in ext/pgsql
Closes GH-6791

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
2021-05-11 00:09:30 +02:00

15 lines
210 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 connection opened yet