PECL CUBRID >= 8.3.1
cubrid_ping - Ping a server connection or reconnect if there is no connection
Code Examples

cubrid_ping( [resource$conn_identifier] ): bool

Checks whether or not the connection to the server is working.



The CUBRID connection identifier. If the connection identifier is not specified, the last connection opened by cubrid_connect is assumed.

Return Values

Returns true if the connection to the server CUBRID server is working, otherwise false.

Example of cubrid_ping

Show all examples for cubrid_ping

PHP Version:

Function cubrid_ping:

CUBRID Functions

Most used PHP functions