(PHP 5 >= 5.4.0, PHP 7)
Close SNMP session
public bool SNMP::close ( void )
Frees previously allocated SNMP session object.
Returns:
Returns TRUE
on success or FALSE
on failure.
Examples:
SNMP::close() example
<?php $session = new SNMP(SNMP::VERSION_1, "127.0.0.1", "public"); # ... # get, walk, etc goes here # ... $session->close(); ?>
See also:
Please login to continue.