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

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

Count Diff
23 (82%)
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"
030+
031+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 37
028- string(%d) "%S"
029- string(%d) "%S"
032- string(5) "array"
033+
034+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 38
035+ NULL
036+
037+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 39
038+ NULL
034- string(%d) "%S"
035- string(%d) "%S"
038- string(5) "array"
040- string(%d) "%S"
041- string(%d) "%S"
041+
042+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 44
043+ string(7) "boolean"
044+
045+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 46
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"
047+
048+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 47
049+ NULL
050+
051+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 48
052+ NULL
055+
056+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 53
057+ string(7) "boolean"
058+
059+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 55
061+
062+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 56
063+ NULL
064+
065+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 57
066+ NULL
061- SNMPv3 (authPriv)
062- string(%d) "%S"
063- string(%d) "%S"
064- array(1) {
065- [%s]=>
066- string(%d) "%S"
067- }
069+
070+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 63
071+ string(7) "boolean"
072+
073+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 65
069- SET single OID
071- bool(true)
072- bool(true)
075+
076+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 66
077+ NULL
078+
079+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 67
080+ NULL
078- bool(true)
079- bool(true)
082- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
083+
084+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 72
085+ string(7) "boolean"
086+
087+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 74
089+
090+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 75
091+ NULL
092+
093+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 76
094+ NULL
095+
096+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 77
097+ NULL
098+
099+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 78
100+
101+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 79
102+ NULL
103+
104+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 80
105+
106+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 81
107+ NULL
108+
109+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 82
110+
111+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 83
112+ NULL
114+ SNMPv3 (default security settings)
115+
116+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 89
117+ bool(false)
118+
119+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 90
120+ bool(false)
121+ bool(true)
122+ SNMPv3 (noAuthNoPriv)
123+
124+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 96
125+ bool(false)
126+
127+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 97
128+ bool(false)
130+ SNMPv3 (authPriv)
131+
132+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 103
133+ bool(false)
134+
135+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 104
136+ bool(false)
137+
138+ Warning: SNMP::walk(): Fatal error: Timeout in %s/snmp-object.php on line 105
139+ bool(false)
141+ SET single OID
142+
143+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 112
144+
145+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 115
146+ bool(false)
147+
148+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 117
149+ bool(false)
150+
151+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 118
152+ bool(false)
153+
154+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 120
159+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 128
160+
162+
163+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 130
164+ bool(false)
165+
166+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 132
167+ bool(false)
168+
169+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 133
170+ bool(false)
171+
172+ 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
173+
174+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 134
175+ bool(false)
176+
177+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 136
180+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 137
183+ SNMPv3, setting contextEngineID (authPriv)
184+
185+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 143
186+ bool(false)
086- bool(true)
087- SNMPv3, setting contextEngineID (authPriv)
088- string(%d) "%S"
089- bool(true)
4 (14%)
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"
030+
031+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 37
028- string(%d) "%S"
029- string(%d) "%S"
032- string(5) "array"
033+
034+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 38
035+ NULL
036+
037+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 39
038+ NULL
034- string(%d) "%S"
035- string(%d) "%S"
038- string(5) "array"
040- string(%d) "%S"
041- string(%d) "%S"
041+
042+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 44
043+ string(7) "boolean"
044+
045+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 46
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"
047+
048+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 47
049+ NULL
050+
051+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 48
052+ NULL
055+
056+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 53
057+ string(7) "boolean"
058+
059+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 55
061+
062+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 56
063+ NULL
064+
065+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 57
066+ NULL
061- SNMPv3 (authPriv)
062- string(%d) "%S"
063- string(%d) "%S"
064- array(1) {
065- [%s]=>
066- string(%d) "%S"
067- }
069+
070+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 63
071+ string(7) "boolean"
072+
073+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 65
069- SET single OID
071- bool(true)
072- bool(true)
075+
076+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 66
077+ NULL
078+
079+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 67
080+ NULL
078- bool(true)
079- bool(true)
082- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
083+
084+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 72
085+ string(7) "boolean"
086+
087+ Warning: count(): Parameter must be an array or an object that implements Countable in %s/snmp-object.php on line 74
089+
090+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 75
091+ NULL
092+
093+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 76
094+ NULL
095+
096+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 77
097+ NULL
098+
099+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 78
100+
101+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 79
102+ NULL
103+
104+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 80
105+
106+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 81
107+ NULL
108+
109+ Warning: array_shift() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 82
110+
111+ Warning: key() expects parameter 1 to be array, bool given in %s/snmp-object.php on line 83
112+ NULL
114+ SNMPv3 (default security settings)
115+
116+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 89
117+ bool(false)
118+
119+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 90
120+ bool(false)
121+ bool(true)
122+ SNMPv3 (noAuthNoPriv)
123+
124+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 96
125+ bool(false)
126+
127+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 97
128+ bool(false)
130+ SNMPv3 (authPriv)
131+
132+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 103
133+ bool(false)
134+
135+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 104
136+ bool(false)
137+
138+ Warning: SNMP::walk(): Fatal error: Unknown user name in %s/snmp-object.php on line 105
139+ bool(false)
141+ SET single OID
142+
143+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 112
144+
145+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 115
146+ bool(false)
147+
148+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 117
149+ bool(false)
150+
151+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 118
152+ bool(false)
153+
154+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 120
159+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 128
160+
162+
163+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 130
164+ bool(false)
165+
166+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 132
167+ bool(false)
168+
169+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 133
170+ bool(false)
171+
172+ 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
173+
174+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 134
175+ bool(false)
176+
177+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 136
180+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 137
183+ SNMPv3, setting contextEngineID (authPriv)
184+
185+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 143
186+ bool(false)
086- bool(true)
087- SNMPv3, setting contextEngineID (authPriv)
088- string(%d) "%S"
089- bool(true)