downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SNMP::__construct> <SNMP
[edit] Last updated: Fri, 24 May 2013

view this page in

SNMP::close

(PHP 5 >= 5.4.0)

SNMP::closeFerme une session SNMP

Description

bool SNMP::close ( void )

Libère les objets de la session SNMP précédemment alloués.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Exemples

Exemple #1 Exemple avec SNMP::close()

<?php
  $session 
= new SNMP(SNMP_VERSION_1"127.0.0.1""public");
  
# ...
  # get, walk, etc vont ici !
  # ...
  
$session->close();
?>

Voir aussi

  • SNMP::__construct() - Crée une instance SNMP représentant la session vers l'agent distant SNMP


add a note add a note User Contributed Notes SNMP::close - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites