snmp_set_oid_output_format

PHP 5 >= 5.2.0, PHP 7, PHP 8
snmp_set_oid_output_format - Set the OID output format
Manual
Code Examples

snmp_set_oid_output_format( int$format ): bool

snmp_set_oid_output_format sets the output format to be full or numeric.

Parameters

format
OID .1.3.6.1.2.1.1.3.0 representation for various format values
SNMP_OID_OUTPUT_FULL.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.sysUpTimeInstance
SNMP_OID_OUTPUT_NUMERIC.1.3.6.1.2.1.1.3.0
SNMP_OID_OUTPUT_MODULEDISMAN-EVENT-MIB::sysUpTimeInstance
SNMP_OID_OUTPUT_SUFFIXsysUpTimeInstance
SNMP_OID_OUTPUT_UCDsystem.sysUpTime.sysUpTimeInstance
SNMP_OID_OUTPUT_NONEUndefined

Return Values

Always returns true.

Example of snmp_set_oid_output_format

Show all examples for snmp_set_oid_output_format

PHP Version:


Function snmp_set_oid_output_format:

SNMP Functions

Most used PHP functions