SNMP::close
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
SNMP::close — Close SNMP session
参数
此函数没有参数。
示例
示例 #1 SNMP::close() example
<?php
  $session = new SNMP(SNMP::VERSION_1, "127.0.0.1", "public");
# ...
  # get, walk, etc goes here
  # ...
$session->close();
?>参见
- SNMP::__construct() - Creates SNMP instance representing session to remote SNMP agent
 
  +添加备注
  
 用户贡献的备注
此页面尚无用户贡献的备注。