This function is only available if using NET_SNMP.  It is NOT available if using UCD_SNMP.  Likewise UCD_SNMP supports some behaviors that NET_SNMP does not.  (found limitation by looking in php snmp.c file)(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)
snmp_set_enum_print — Retorna todos os valores que são enumerações com seus valores de enumeração em vez do inteiro bruto
Esta função alterna se snmpwalk/snmpget etc. devem procurar automaticamente valores de enumeração na MIB e retorná-los junto com sua string legível.
enableComo o valor é interpretado como booleano pela biblioteca Net-SNMP, ele só pode ser "0" ou "1".
   Sempre retorna true.
  
| Versão | Descrição | 
|---|---|
| 8.2.0 | O tipo do retorno agora é true; anteriormente, era bool. | 
Exemplo #1 Usando snmp_set_enum_print()
<?php
 snmp_set_enum_print(0);
 echo snmpget('localhost', 'public', 'IF-MIB::ifOperStatus.3') . "\n";
 snmp_set_enum_print(1);
 echo snmpget('localhost', 'public', 'IF-MIB::ifOperStatus.3') . "\n";
?>O exemplo acima retornaria
INTEGER: up(1) INTEGER: 1
This function is only available if using NET_SNMP.  It is NOT available if using UCD_SNMP.  Likewise UCD_SNMP supports some behaviors that NET_SNMP does not.  (found limitation by looking in php snmp.c file)