[PHP-DOC] #37164 [Ver->Ana]: SNMP: snmp_set_oid_numeric_print does not behave as expected
by sniper other posts by this author
Jul 26 2006 10:21PM messages near this date
[PHP-DOC] #37164 [Ana]: SNMP: snmp_set_oid_numeric_print does not behave as expected
|
[PHP-DOC] cvs: phpdoc /en/reference/mbstring/functions mb-strrpos.xml
ID: 37164
Updated by: sniper@[...].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
|