Test: /ext/snmp/tests/snmp-object.phpt - Version 5.5.2    

There are 4 different diffs reported by users for this test.

Count Diff
23 (85%)
002+
003+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 13
004+ bool(false)
005+
006+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 14
007+ bool(false)
008+
009+ Warning: SNMP::getnext(): No response from 127.0.0.1 in %s/snmp-object.php on line 15
010+ bool(false)
002- string(%d) "%S"
003- array(2) {
004- ["%s"]=>
005- string(%d) "%S"
006- ["%s"]=>
007- string(%d) "%S"
008- }
009- string(%d) "%S"
012- string(%d) "%S"
013- string(%d) "%S"
013+
014+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 20
015+ bool(false)
016+
017+ Warning: SNMP::getnext(): No response from 127.0.0.1 in %s/snmp-object.php on line 21
018+ bool(false)
016- string(%d) "%s"
017- string(%d) "%s"
020- string(5) "array"
021+
022+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 27
023+ NULL
024+ NULL
022- string(%d) "%S"
023- string(%d) "%S"
026- string(5) "array"
027+
028+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 35
029+ string(7) "boolean"
028- string(%d) "%S"
029- string(%d) "%S"
031+
032+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 38
033+ NULL
034+
035+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 39
036+ NULL
032- string(5) "array"
034- string(%d) "%S"
035- string(%d) "%S"
038- string(5) "array"
039+
040+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 44
041+ string(7) "boolean"
040- string(%d) "%S"
041- string(%d) "%S"
043+
044+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 47
045+ NULL
046+
047+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 48
048+ NULL
044- string(5) "array"
046- string(3) "1.0"
047- string(%d) "%s"
048- string(3) "2.0"
049- string(3) "3.0"
050- string(3) "4.0"
051- string(3) "5.0"
052- bool(true)
053- SNMPv3 (default security settings)
054- string(%d) "%S"
055- string(%d) "%S"
056- bool(true)
057- SNMPv3 (noAuthNoPriv)
058- string(%d) "%S"
059- string(%d) "%S"
051+
052+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 53
053+ string(7) "boolean"
055+
056+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 56
057+ NULL
058+
059+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 57
060+ NULL
061- SNMPv3 (authPriv)
062- string(%d) "%S"
063- string(%d) "%S"
064- array(1) {
065- [%s]=>
066- string(%d) "%S"
067- }
063+
064+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 63
065+ string(7) "boolean"
067+
068+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 66
069+ NULL
070+
071+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 67
072+ NULL
069- SET single OID
071- bool(true)
072- bool(true)
075+
076+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 72
077+ string(7) "boolean"
078- bool(true)
079- bool(true)
079+
080+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 75
081+ NULL
082+
083+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 76
084+ NULL
085+
086+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 77
087+ NULL
088+
089+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 78
090+
091+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 79
092+ NULL
093+
094+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 80
095+
096+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 81
097+ NULL
098+
099+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 82
100+
101+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 83
102+ NULL
082- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
104+ SNMPv3 (default security settings)
105+
106+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 89
107+ bool(false)
108+
109+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 90
110+ bool(false)
111+ bool(true)
112+ SNMPv3 (noAuthNoPriv)
113+
114+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 96
115+ bool(false)
116+
117+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 97
118+ bool(false)
120+ SNMPv3 (authPriv)
121+
122+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 103
123+ bool(false)
124+
125+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 104
126+ bool(false)
127+
128+ Warning: SNMP::walk(): Fatal error: Timeout in %s/snmp-object.php on line 105
129+ bool(false)
131+ SET single OID
132+
133+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 112
134+
135+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 115
136+ bool(false)
137+
138+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 117
139+ bool(false)
140+
141+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 118
142+ bool(false)
143+
144+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 120
149+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 128
150+
152+
153+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 130
154+ bool(false)
155+
156+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 132
157+ bool(false)
158+
159+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 133
160+ bool(false)
161+
162+ Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s/snmp-object.php on line 134
163+
164+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 134
165+ bool(false)
166+
167+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 136
170+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 137
173+ SNMPv3, setting contextEngineID (authPriv)
174+
175+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 143
176+ bool(false)
086- bool(true)
087- SNMPv3, setting contextEngineID (authPriv)
088- string(%d) "%S"
089- bool(true)
2 (7%)
054+
055+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 89
056+ bool(false)
057+
058+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 90
059+ bool(false)
054- string(%d) "%S"
055- string(%d) "%S"
058- string(%d) "%S"
059- string(%d) "%S"
062+
063+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 96
064+ bool(false)
065+
066+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 97
067+ bool(false)
062- string(%d) "%S"
063- string(%d) "%S"
064- array(1) {
065- [%s]=>
066- string(%d) "%S"
067- }
070+
071+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 103
072+ bool(false)
073+
074+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 104
075+ bool(false)
076+
077+ Warning: SNMP::walk(): Fatal error: Unknown user name in %s/snmp-object.php on line 105
078+ bool(false)
070- bool(true)
071- bool(true)
072- bool(true)
077- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
081+
082+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 112
083+
084+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 115
085+ bool(false)
086+
087+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 117
088+ bool(false)
089+
090+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 118
091+ bool(false)
092+
093+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 120
082- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
098+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 128
099+
100+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 130
101+ bool(false)
102+
103+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 132
104+ bool(false)
105+
106+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 133
107+ bool(false)
108+
109+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 134
110+ bool(false)
111+
112+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 136
114+
115+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 137
118+ SNMPv3, setting contextEngineID (authPriv)
120+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 143
121+ bool(false)
084- bool(true)
085- bool(true)
086- bool(true)
087- SNMPv3, setting contextEngineID (authPriv)
088- string(%d) "%S"
089- bool(true)
1 (4%)
054+
055+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 89
056+ bool(false)
057+
058+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 90
059+ bool(false)
054- string(%d) "%S"
055- string(%d) "%S"
058- string(%d) "%S"
059- string(%d) "%S"
062+
063+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 96
064+ bool(false)
065+
066+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 97
067+ bool(false)
062- string(%d) "%S"
063- string(%d) "%S"
064- array(1) {
065- [%s]=>
066- string(%d) "%S"
067- }
070+
071+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 103
072+ bool(false)
073+
074+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 104
075+ bool(false)
076+
077+ Warning: SNMP::walk(): Fatal error: Unknown user name in %s/snmp-object.php on line 105
078+ bool(false)
070- bool(true)
071- bool(true)
072- bool(true)
078- bool(true)
079- bool(true)
081+
082+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 112
083+
084+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 115
085+ bool(false)
086+
087+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 117
088+ bool(false)
089+
090+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 118
091+ bool(false)
092+
093+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 120
082- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
098+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 128
099+
101+
102+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 130
103+ bool(false)
104+
105+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 132
106+ bool(false)
107+
108+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 133
109+ bool(false)
110+
111+ Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s/snmp-object.php on line 134
112+
113+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 134
114+ bool(false)
115+
116+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 136
119+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 137
122+ SNMPv3, setting contextEngineID (authPriv)
123+
124+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 143
125+ bool(false)
086- bool(true)
087- SNMPv3, setting contextEngineID (authPriv)
088- string(%d) "%S"
089- bool(true)
1 (4%)
002+
003+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 13
004+ bool(false)
005+
006+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 14
007+ bool(false)
008+
009+ Warning: SNMP::getnext(): No response from 127.0.0.1 in %s/snmp-object.php on line 15
010+ bool(false)
002- string(%d) "%S"
003- array(2) {
004- ["%s"]=>
005- string(%d) "%S"
006- ["%s"]=>
007- string(%d) "%S"
008- }
009- string(%d) "%S"
012- string(%d) "%S"
013- string(%d) "%S"
013+
014+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 20
015+ bool(false)
016+
017+ Warning: SNMP::getnext(): No response from 127.0.0.1 in %s/snmp-object.php on line 21
018+ bool(false)
016- string(%d) "%s"
017- string(%d) "%s"
020- string(5) "array"
021+
022+ Warning: SNMP::get(): No response from 127.0.0.1 in %s/snmp-object.php on line 27
023+ NULL
024+ NULL
022- string(%d) "%S"
023- string(%d) "%S"
026- string(5) "array"
027+
028+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 35
029+ string(7) "boolean"
028- string(%d) "%S"
029- string(%d) "%S"
031+
032+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 38
033+ NULL
034+
035+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 39
036+ NULL
032- string(5) "array"
034- string(%d) "%S"
035- string(%d) "%S"
038- string(5) "array"
039+
040+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 44
041+ string(7) "boolean"
040- string(%d) "%S"
041- string(%d) "%S"
043+
044+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 47
045+ NULL
046+
047+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 48
048+ NULL
044- string(5) "array"
046- string(3) "1.0"
047- string(%d) "%s"
048- string(3) "2.0"
049- string(3) "3.0"
050- string(3) "4.0"
051- string(3) "5.0"
052- bool(true)
053- SNMPv3 (default security settings)
054- string(%d) "%S"
055- string(%d) "%S"
056- bool(true)
057- SNMPv3 (noAuthNoPriv)
058- string(%d) "%S"
059- string(%d) "%S"
051+
052+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 53
053+ string(7) "boolean"
055+
056+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 56
057+ NULL
058+
059+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 57
060+ NULL
061- SNMPv3 (authPriv)
062- string(%d) "%S"
063- string(%d) "%S"
064- array(1) {
065- [%s]=>
066- string(%d) "%S"
067- }
063+
064+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 63
065+ string(7) "boolean"
067+
068+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 66
069+ NULL
070+
071+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 67
072+ NULL
069- SET single OID
071- bool(true)
072- bool(true)
075+
076+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 72
077+ string(7) "boolean"
077- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
079+
080+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 75
081+ NULL
082+
083+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 76
084+ NULL
085+
086+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 77
087+ NULL
088+
089+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 78
090+
091+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 79
092+ NULL
093+
094+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 80
095+
096+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 81
097+ NULL
098+
099+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 82
100+
101+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 83
102+ NULL
082- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
104+ SNMPv3 (default security settings)
105+
106+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 89
107+ bool(false)
108+
109+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 90
110+ bool(false)
111+ bool(true)
112+ SNMPv3 (noAuthNoPriv)
113+
114+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 96
115+ bool(false)
116+
117+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 97
118+ bool(false)
120+ SNMPv3 (authPriv)
121+
122+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 103
123+ bool(false)
124+
125+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 104
126+ bool(false)
127+
128+ Warning: SNMP::walk(): Fatal error: Timeout in %s/snmp-object.php on line 105
129+ bool(false)
131+ SET single OID
132+
133+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 112
134+
135+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 115
136+ bool(false)
137+
138+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 117
139+ bool(false)
140+
141+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 118
142+ bool(false)
143+
144+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 120
149+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 128
150+
151+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 130
152+ bool(false)
153+
154+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 132
155+ bool(false)
156+
157+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 133
158+ bool(false)
159+
160+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 134
161+ bool(false)
162+
163+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 136
165+
166+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 137
169+ SNMPv3, setting contextEngineID (authPriv)
171+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 143
172+ bool(false)
084- bool(true)
085- bool(true)
086- bool(true)
087- SNMPv3, setting contextEngineID (authPriv)
088- string(%d) "%S"
089- bool(true)