MysqlndUhConnection::ping
Pings a server connection, or tries to reconnect if the connection has gone down
&reftitle.description;
public boolMysqlndUhConnection::ping
mysqlnd_connectionconnection
Pings a server connection, or tries to reconnect if the connection has gone down.
&reftitle.parameters;
connection
Mysqlnd connection handle. Do not modify!
&reftitle.returnvalues;
Returns &true; on success.
Otherwise, returns &false;
&reftitle.examples;
MysqlndUhConnection::ping example
ping();
?>
]]>
&example.outputs;
NULL,
))
proxy::ping returns true
]]>
&reftitle.seealso;
mysqlnd_uh_set_connection_proxy
mysqli_ping
mysql_ping