ID: 37213
Updated by: [EMAIL PROTECTED]
Reported By: marty at upbeatmms dot com
-Status: Open
+Status: No Feedback
Bug Type: SNMP related
Operating System: Windows 2000
PHP Version: 5.1.2
New Comment:
What's in the array keys?
Previous Comments:
------------------------------------------------------------------------
[2006-04-26 19:33:23] marty at upbeatmms dot com
Description:
------------
In the following code below the OID is not displayed - just the data.
The command line version of UCD-SNMP displays both the OID and Data.
Reproduce code:
---------------
<?php
snmp_set_quick_print(0);
$a = snmpwalk("192.168.1.1", "Read",".1.3.6.1.2.1.17.4.3.1.1");
foreach ($a as $val) {
echo "$val\n<br>";
}
?>
Expected result:
----------------
I excpect to see both the OID and the data
Actual result:
--------------
Just the data is displayed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37213&edit=1