mysqli::ping
mysqli::ping
mysqli_ping
(PHP 5, PHP 7)
mysqli::ping -- mysqli_ping — Pings a server connection, or tries to reconnect if the connection has gone down
Description
Object oriented style
bool mysqli::ping ( void )
Procedural style
bool mysqli_ping ( mysqli $link )
Checks whether the connection to the server is working. If it has gone down and global option 登录查看完整内容