From: pkryon at yahoo dot com Operating system: Debian Wheezy PHP version: 5.5.1 Package: SNMP related Bug Type: Bug Bug description:Error when calling multiple snmp3 functions
Description: ------------ Test script below returns only the first snmp3_get. The next two fail with a PHP Warning. This appears to be a problem in all snmp3 functions but seems to work as expected with the snmp/snmp2 functions. Test script: --------------- <?php echo snmp3_get('device1','snmpuser','authNoPriv','sha','snmppass','','','SNMPv2-MIB::sysLocation.0')."\n"; echo snmp3_get('device2','snmpuser','authNoPriv','sha','snmppass','','','SNMPv2-MIB::sysLocation.0')."\n"; echo snmp3_get('device3','snmpuser','authNoPriv','sha','snmppass','','','SNMPv2-MIB::sysLocation.0')."\n"; ?> Expected result: ---------------- STRING: Location 1 STRING: Location 2 STRING: Location 3 Actual result: -------------- STRING: Location 1 PHP Warning: snmp3_get(): No response from 192.168.0.2 in /var/www/test4.php on line 5 PHP Warning: snmp3_get(): No response from 192.168.0.3 in /var/www/test4.php on line 7 -- Edit bug report at https://bugs.php.net/bug.php?id=65422&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65422&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65422&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65422&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65422&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65422&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65422&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65422&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65422&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65422&r=support Expected behavior: https://bugs.php.net/fix.php?id=65422&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65422&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65422&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65422&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65422&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65422&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65422&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65422&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65422&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65422&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65422&r=mysqlcfg