IRC Gateway
PHP Manual

ircg_disconnect

(PHP 4 >= 4.0.4, PHP 5 <= 5.0.5)

ircg_disconnect — Close connection to server

说明

bool ircg_disconnect ( resource $connection , string $reason )

ircg_disconnect() will close a connection to a server previously established with ircg_pconnect().

参数

connection

A connection resource handle returned by ircg_pconnect().

reason

A message for the disconnection.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


IRC Gateway
PHP Manual