array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.snmp-get-valueretrieval.php', 1 => 'snmp_get_valueretrieval', 2 => 'Return the method how the SNMP values will be returned', ), 'up' => array ( 0 => 'ref.snmp.php', 1 => 'SNMP Funzioni', ), 'prev' => array ( 0 => 'function.snmp-get-quick-print.php', 1 => 'snmp_get_quick_print', ), 'next' => array ( 0 => 'function.snmp-read-mib.php', 1 => 'snmp_read_mib', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/snmp/functions/snmp-get-valueretrieval.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

snmp_get_valueretrieval

(PHP 4 >= 4.3.3, PHP 5, PHP 7, PHP 8)

snmp_get_valueretrieval Return the method how the SNMP values will be returned

Descrizione

snmp_get_valueretrieval(): int

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

OR-ed combitantion of constants ( SNMP_VALUE_LIBRARY or SNMP_VALUE_PLAIN ) with possible SNMP_VALUE_OBJECT set.

Esempi

Example #1 Using snmp_get_valueretrieval()

<?php
$ret
= snmpget('localhost', 'public', 'IF-MIB::ifName.1');
if (
snmp_get_valueretrieval() & SNMP_VALUE_OBJECT) {
echo
$ret->value;
} else {
echo
$ret;
}
?>

Vedere anche: