|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2841 snmpset () returns an empty array
Submitted: 1999-11-27 00:49 UTC Modified: 2005-03-30 09:00 UTC
From: alex at dreifeld dot de Assigned:
Status: Wont fix Package: Misbehaving function
PHP Version: 3.0.12 OS: Linux 2.0.35
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [1999-11-27 00:49 UTC] alex at dreifeld dot de
snmpset () always returns an empty array, while the snmpset-shell command returns the modified data
(sometimes needed to retrieve newly created indexes).

Create a new license entry on a Bintec router (shell command):
snmpset host community . i 12345
enterprises. = 12345

Same procedure in PHP:
  $ret = snmpset ("host", "community", ".", "i", "12345");
  echo count ($ret), "<br>";
0 (=no entries in the array)

Used SNMP-version: ucd-snmp-4_0_1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-30 09:00 UTC]
We are sorry, but we can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Of course PHP 4 will continue to be supported for the
forseeable future.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jun 30 23:03:49 2022 UTC