#29998 [Bgs]: wrong output (autoconvert to string?)
| From: | pookey@php.net | Date: | Sun, 29 Jan 2006 00:21:22 +0000 |
| Subject: | #29998 [Bgs]: wrong output (autoconvert to string?) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92588@lists.php.net to get a copy of this message | ||
ID: 29998
Updated by: pookey@php.net
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] derick@php.net
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