pg_ping
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Ping database connection
<?php pg_ping
(?
PgSql\Connection $connection
=
null
):
bool