ID: 29998 Updated by: [EMAIL PROTECTED] Reported By: admin at artem-catv dot ru Status: Bogus Bug Type: SNMP related Operating System: Redhat Linux 9.0 PHP Version: 4.3.9RC2 New Comment:
snmp_set_valueretrieval(SNMP_VALUE_LIBRARY); Previous Comments: ------------------------------------------------------------------------ [2004-09-06 13:22:30] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . ------------------------------------------------------------------------ [2004-09-06 13:12:08] admin at artem-catv dot ru Description: ------------ When I try to output HEX string, returned by snmpget(), it outputs converted string from that HEX. Reproduce code: --------------- snmp_set_valueretrieval(SNMP_VALUE_PLAIN); $test = snmpget("10.10.10.10", "public", "1.3.6.1.2.1.10.127.1.3.3.1.2.1", 50); echo $test; Expected result: ---------------- 00 00 CA 37 67 BB Actual result: -------------- Ê7g» ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29998&edit=1