« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for ifDescr (0.001 sec.)
SNMP::walk — SNMP オブジェクトのサブツリーを取得する | PHP 8.3 9414
SNMP::walk (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::walk — SNMP オブジェクトのサブツリーを取得する 説明 public function SNMP::walk ( array | string $objectId , bool $suffixAsKey = false , int $maxRepetitions = -1 , int $nonRepeaters = -1 ): arr ... <?php $session = new SNMP ( SNMP :: VERSION_1 , "127.0.0.1" , "public" ); $session -> valueretrieval = SNMP_VALUE_PLAIN ; $ifDescr = $session -> walk ( ".1.3.6.1.2.1.2.2.1.2" , TRUE ); $session -> valueretrieval = SNMP_VALUE_LIBRARY ; $ifType = $session ... -> walk ( ".1.3.6.1.2.1.2.2.1.3" , TRUE ); print_r ( $ifDescr ); print_r ( $ifType ); $result = array(); foreach( $ifDescr as $i => $n ) { $result [ $n ] = $ifType [ $i ]; } print_r ( ...
https://man.mtool.work/php/8.3/snmp.walk.html
PREV 1 NEXT