#37164 [Ver->Ana]: SNMP: snmp_set_oid_numeric_print does not behave as expected

From: Date: Thu, 27 Jul 2006 05:21:38 +0000
Subject: #37164 [Ver->Ana]: SNMP: snmp_set_oid_numeric_print does not behave as expected
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373604@lists.php.net to get a copy of this message
ID: 37164 Updated by: sniper@php.net -Summary: snmp_set_oid_numeric_print does not behave as expected Reported By: jorrit at ncode dot nl -Status: Verified +Status: Analyzed -Bug Type: SNMP related +Bug Type: Documentation problem Operating System: Linux PHP Version: 4.4.2 New Comment: This has been taken care of in PHP 5.2 (to be released soon): - Function was renamed to snmp_set_oid_output_format() which describes what it does better (old name is still an alias!) - Two new constants were added to be used as the parameters: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC. Reclassifying as documentation issue, the new function needs docs, and I have no time to do that myself (no checkout of doc stuff either!) Previous Comments: ------------------------------------------------------------------------ [2006-04-22 11:11:00] jorrit at ncode dot nl 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 this bug report at http://bugs.php.net/?id=37164&edit=1

« previous php.doc (#969373604) next »