|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-10-25 20:17 UTC] svn@php.net
[2009-10-25 20:17 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
Description: ------------ Warning message when using (incorrectly) snmp3_get is printed twice. Same bug appears with all snmp3_* functions. (You don't need a working SNMP server to test this bug). Reproduce code: --------------- <?php // You don't need a working SNMP server to test this bug snmp3_get('127.0.0.1', 'public', 'a', 'b', 'c', 'd', 'e', '.1.3.6.1.2.1.1.1.0'); Expected result: ---------------- Warning: snmp3_get(): Invalid security level: a in %s on line 4 Actual result: -------------- Warning: snmp3_get(): Invalid security level: a in %s on line 4 Warning: snmp3_get(): Invalid security level: a in %s on line 4