Test: /ext/snmp/tests/snmp-object.phpt - Version 5.5.0beta3    

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

Count Diff
1 (50%)
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- string(3) "6.0"
053- string(3) "7.0"
054- string(3) "8.0"
055- bool(true)
056- SNMPv3 (default security settings)
057- string(%d) "%S"
058- string(%d) "%S"
059- bool(true)
060- SNMPv3 (noAuthNoPriv)
061- string(%d) "%S"
062- string(%d) "%S"
063- bool(true)
064- SNMPv3 (authPriv)
065- string(%d) "%S"
066- string(%d) "%S"
067- array(1) {
068- [%s]=>
069- string(%d) "%S"
070- }
071- bool(true)
072- SET single OID
073- bool(true)
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
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
075+
076+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 72
077+ string(7) "boolean"
075- bool(true)
078- Multiple OID with max_oids = 1
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
103+
104+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 84
105+
106+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 85
107+ NULL
108+
109+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 86
110+
111+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 87
112+ NULL
113+
114+ Warning: array_shift() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 88
115+
116+ Warning: key() expects parameter 1 to be array, boolean given in %s/snmp-object.php on line 89
117+ NULL
080- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
086- bool(true)
087- bool(true)
088- bool(true)
089- bool(true)
090- SNMPv3, setting contextEngineID (authPriv)
091- string(%d) "%S"
119+ SNMPv3 (default security settings)
120+
121+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 95
122+ bool(false)
123+
124+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 96
125+ bool(false)
127+ SNMPv3 (noAuthNoPriv)
128+
129+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 102
130+ bool(false)
131+
132+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 103
133+ bool(false)
135+ SNMPv3 (authPriv)
136+
137+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 109
138+ bool(false)
140+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 110
141+ bool(false)
142+
143+ Warning: SNMP::walk(): Fatal error: Timeout in %s/snmp-object.php on line 111
144+ bool(false)
146+ SET single OID
147+
148+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 118
149+
150+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 121
151+ bool(false)
152+
153+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 123
154+ bool(false)
155+
156+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 124
157+ bool(false)
158+
159+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 126
162+ Multiple OID with max_oids = 1
164+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 134
165+
167+
168+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 136
169+ bool(false)
170+
171+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 138
172+ bool(false)
173+
174+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 139
175+ bool(false)
176+
177+ Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s/snmp-object.php on line 140
178+
179+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 140
180+ bool(false)
181+
182+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 142
184+
185+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 143
186+ bool(true)
187+ bool(true)
188+ SNMPv3, setting contextEngineID (authPriv)
189+
190+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 149
191+ bool(false)
192+ bool(true)
1 (50%)
053- string(3) "7.0"
054+ string(7) "9.1.2.1"
057+
058+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 95
059+ bool(false)
060+
061+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 96
062+ bool(false)
057- string(%d) "%S"
058- string(%d) "%S"
061- string(%d) "%S"
062- string(%d) "%S"
065+
066+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 102
067+ bool(false)
068+
069+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 103
070+ bool(false)
065- string(%d) "%S"
066- string(%d) "%S"
067- array(1) {
068- [%s]=>
069- string(%d) "%S"
070- }
073+
074+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 109
075+ bool(false)
076+
077+ Warning: SNMP::getnext(): Fatal error: Unknown user name in %s/snmp-object.php on line 110
078+ bool(false)
079+
080+ Warning: SNMP::walk(): Fatal error: Unknown user name in %s/snmp-object.php on line 111
081+ bool(false)
073- bool(true)
074- bool(true)
075- bool(true)
081- bool(true)
082- bool(true)
084+
085+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 118
086+
087+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 121
088+ bool(false)
089+
090+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 123
091+ bool(false)
092+
093+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 124
094+ bool(false)
095+
096+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 126
085- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
101+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 134
102+
104+
105+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 136
106+ bool(false)
107+
108+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 138
109+ bool(false)
110+
111+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 139
112+ bool(false)
113+
114+ Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s/snmp-object.php on line 140
115+
116+ Warning: SNMP::set(): Fatal error: Unknown user name in %s/snmp-object.php on line 140
117+ bool(false)
118+
119+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 142
122+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 143
125+ SNMPv3, setting contextEngineID (authPriv)
126+
127+ Warning: SNMP::get(): Fatal error: Unknown user name in %s/snmp-object.php on line 149
128+ bool(false)
089- bool(true)
090- SNMPv3, setting contextEngineID (authPriv)
091- string(%d) "%S"
092- bool(true)