From: Operating system: Debian 6.0 PHP version: 5.4.3 Package: SNMP related Bug Type: Bug Bug description:php5-snmp 5.4.0-3
Description: ------------ Bag in method SNMP::walk. The parameter $suffix_as_key not working correctly. Test script: --------------- <?php $session = new SNMP(SNMP::VERSION_2c, "127.0.0.1", "public"); $ifDescr = $session->walk(".1.3.6.1.2.1.2.2.1.2", TRUE); print_r($ifDescr); ?> Expected result: ---------------- Array ( [1001] => Port 1:1 [1002] => Port 1:2 [1003] => Port 1:3 ... ) Actual result: -------------- Array ( [1001] => Port 1:1 [iso.3.6.1.2.1.2.2.1.2.1002] => Port 1:2 [iso.3.6.1.2.1.2.2.1.2.1003] => Port 1:3 ... ) -- Edit bug report at https://bugs.php.net/bug.php?id=61981&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61981&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61981&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61981&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61981&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61981&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61981&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61981&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61981&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61981&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61981&r=support Expected behavior: https://bugs.php.net/fix.php?id=61981&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61981&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61981&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61981&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61981&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61981&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61981&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61981&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61981&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61981&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61981&r=mysqlcfg