#29998 [Opn->Bgs]: wrong output (autoconvert to string?)

From: Date: Mon, 06 Sep 2004 11:22:46 +0000
Subject: #29998 [Opn->Bgs]: wrong output (autoconvert to string?)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65808@lists.php.net to get a copy of this message
ID: 29998 Updated by: derick@php.net Reported By: admin at artem-catv dot ru -Status: Open +Status: Bogus Bug Type: SNMP related Operating System: Redhat Linux 9.0 PHP Version: 4.3.9RC2 New Comment: 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. . Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#65808) next »