pg_ping

Example

 bool pg_ping ([ resource $connection ] ) 

Description

pg_ping() pings a database connection and tries to reconnect it if it is broken.

Return Values

Returns TRUE on success or FALSE on failure.