php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29998 wrong output (autoconvert to string?)
Submitted: 2004-09-06 13:12 UTC Modified: 2006-01-29 01:21 UTC
From: admin at artem-catv dot ru Assigned:
Status: Not a bug Package: SNMP related
PHP Version: 4.3.9RC2 OS: Redhat Linux 9.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: admin at artem-catv dot ru
New email:
PHP Version: OS:

 

 [2004-09-06 13:12 UTC] 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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-06 13:22 UTC] 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.

.
 [2006-01-29 01:21 UTC] pookey@php.net
 
snmp_set_valueretrieval(SNMP_VALUE_LIBRARY); 
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 08:01:25 2020 UTC