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

From: Date: Sun, 07 Jan 2007 01:44:59 +0000
Subject: #37164 [Ana->Csd]: SNMP: snmp_set_oid_numeric_print does not behave as expected
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374693@lists.php.net to get a copy of this message
ID: 37164 Updated by: didou@php.net Reported By: jorrit at ncode dot nl -Status: Analyzed +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.4.2 New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. The documentation for snmp_set_oid_output_format() was added. Previous Comments: ------------------------------------------------------------------------ [2006-07-27 05:22:15] sniper@php.net NOTE: This will NOT be backported to PHP 4.4 as this is not any critical bugfix. ------------------------------------------------------------------------ [2006-07-27 05:21:38] sniper@php.net 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!) ------------------------------------------------------------------------ [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 (#969374693) next »