« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for boguscommunity (0.001 sec.)
SNMP::getErrno — 直近のエラーコードを取得する | PHP 8.3 9357
SNMP::getErrno (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::getErrno — 直近のエラーコードを取得する 説明 public function SNMP::getErrno (): int 直近の SNMP リクエストのエラーコードを返します。 パラメータ この関数にはパラメータはありません。 戻り値 ... ーコードのいずれかを返します。 例 例1 SNMP::getErrno() の例 <?php $session = new SNMP ( SNMP :: VERSION_2c , '127.0.0.1' , 'boguscommunity' ); var_dump (@ $session -> get ( '.1.3.6.1.2.1.1.1.0' )); var_dump ( $session -> getErrno () == SNMP :: ERRNO_TIMEOUT ); ...
https://man.mtool.work/php/8.3/snmp.geterrno.html
SNMP::getError — 直近のエラーメッセージを取得する | PHP 8.3 9357
SNMP::getError (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::getError — 直近のエラーメッセージを取得する 説明 public function SNMP::getError (): string 直近の SNMP リクエストのエラー文字列を返します。 パラメータ この関数にはパラメータはありません。 ... エラーを表す文字列を返します。 例 例1 SNMP::getError() の例 <?php $session = new SNMP ( SNMP :: VERSION_2c , '127.0.0.1' , 'boguscommunity' ); var_dump (@ $session -> get ( '.1.3.6.1.2.1.1.1.0' )); var_dump ( $session -> getError ()); ?> 上の例の出力は以下となり ...
https://man.mtool.work/php/8.3/snmp.geterror.html
PREV 1 NEXT