(PECL ssh2 >= 1.0)
ssh2_disconnect — Close a connection to a remote SSH server
$session
Close a connection to a remote SSH server.
session
成功した場合に true を、失敗した場合に false を返します。
true
false