ID: 12081
Updated by: rasmus
Old Summary: A successfull snmpset() always returns "false"
Status: Open
Bug Type: SNMP related
Operating System: Slackware-7.1, kernel.2.4.6
PHP Version: 4.0.6
New Comment:

>From looking at the code it would appear that snmpset() would return an empty array 
>unless something goes wrong.  Granted, that is sub-optimal, but I don't think it 
>returns false.  Could you verify this for me that it is actually an empty array and 
>not false?

Previous Comments:

[2001-07-12 02:31:47] [EMAIL PROTECTED]

I think the bug is in ext/snmp/snmp.c. php_snmp() initializes "return_value" only for 
snmp functions that return some MIB variable(s). It should "RETURN_TRUE" for snmpset 


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to