#37164 [NEW]: snmp_set_oid_numeric_print does not behave as expected

From: Date: Sat, 22 Apr 2006 11:11:00 +0000
Subject: #37164 [NEW]: snmp_set_oid_numeric_print does not behave as expected
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96093@lists.php.net to get a copy of this message
From: jorrit at ncode dot nl Operating system: Linux PHP version: 4.4.2 PHP Bug Type: SNMP related Bug description: snmp_set_oid_numeric_print does not behave as expected Description: ------------ The (undocumented) function snmp_set_oid_numeric_print doesn't behave like expected. If you supply 1 as argument, the oids get returned numerically, as expected, but there is no way to reverse this action, although the function description suggests so (why would you need an argument anyway?). If you look into the c code, you'll see that only the case argument != 0 is handled. -- Edit bug report at http://bugs.php.net/?id=37164&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37164&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37164&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37164&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37164&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37164&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37164&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37164&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37164&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37164&r=support Expected behavior: http://bugs.php.net/fix.php?id=37164&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37164&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37164&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37164&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37164&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37164&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37164&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37164&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37164&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37164&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37164&r=mysqlcfg

« previous php.bugs (#96093) next »