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

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

Count Diff
4 (67%)
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"
050- string(%d) "%S"
051- 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"
054- string(%d) "%S"
055- string(%d) "%S"
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
058- string(%d) "%S"
059- string(%d) "%S"
060- array(1) {
061- [%s]=>
062- string(%d) "%S"
063- }
063+
064+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 63
065+ string(7) "boolean"
066- bool(true)
067- bool(true)
068- bool(true)
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
074- bool(true)
075- 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- 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
087+
088+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 82
089+ bool(false)
090+
091+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 83
092+ bool(false)
095+
096+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 89
097+ bool(false)
098+
099+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 90
100+ bool(false)
103+
104+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 96
105+ bool(false)
106+
107+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 97
108+ bool(false)
109+
110+ Warning: SNMP::walk(): Fatal error: Timeout in %s/snmp-object.php on line 98
111+ bool(false)
114+
115+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 105
116+
117+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 108
118+ bool(false)
119+
120+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 110
121+ bool(false)
122+
123+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 111
124+ bool(false)
125+
126+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 113
131+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 121
132+
134+
135+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 123
136+ bool(false)
137+
138+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 125
139+ bool(false)
140+
141+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 126
142+ bool(false)
143+
144+ Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s/snmp-object.php on line 127
145+
146+ Warning: SNMP::set(): Fatal error: Timeout in %s/snmp-object.php on line 127
147+ bool(false)
148+
149+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 129
152+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 130
155+ SNMPv3, setting contextEngineID (authPriv)
156+
157+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 136
158+ bool(false)
082- bool(true)
083- SNMPv3, setting contextEngineID (authPriv)
084- string(%d) "%S"
085- bool(true)
2 (33%)
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"
050- string(%d) "%S"
051- 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"
054- string(%d) "%S"
055- string(%d) "%S"
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
058- string(%d) "%S"
059- string(%d) "%S"
060- array(1) {
061- [%s]=>
062- string(%d) "%S"
063- }
063+
064+ Warning: SNMP::walk(): No response from 127.0.0.1 in %s/snmp-object.php on line 63
065+ string(7) "boolean"
066- bool(true)
067- bool(true)
068- bool(true)
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
073- Warning: SNMP::set(): Can not fit all OIDs for SET query into one packet, using multiple queries in %s on line %d
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- 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
087+
088+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 82
089+ bool(false)
090+
091+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 83
092+ bool(false)
095+
096+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 89
097+ bool(false)
098+
099+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 90
100+ bool(false)
103+
104+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 96
105+ bool(false)
106+
107+ Warning: SNMP::getnext(): Fatal error: Timeout in %s/snmp-object.php on line 97
108+ bool(false)
109+
110+ Warning: SNMP::walk(): Fatal error: Timeout in %s/snmp-object.php on line 98
111+ bool(false)
114+
115+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 105
116+
117+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 108
118+ bool(false)
119+
120+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 110
121+ bool(false)
122+
123+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 111
124+ bool(false)
125+
126+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 113
131+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 121
132+
133+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 123
134+ bool(false)
135+
136+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 125
137+ bool(false)
138+
139+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 126
140+ bool(false)
141+
142+ Warning: SNMP::set(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 127
143+ bool(false)
144+
145+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysContact.0 in %s/snmp-object.php on line 129
147+
148+ Warning: SNMP::get(): Invalid object identifier: SNMPv2-MIB::sysLocation.0 in %s/snmp-object.php on line 130
151+ SNMPv3, setting contextEngineID (authPriv)
153+ Warning: SNMP::get(): Fatal error: Timeout in %s/snmp-object.php on line 136
154+ bool(false)
080- bool(true)
081- bool(true)
082- bool(true)
083- SNMPv3, setting contextEngineID (authPriv)
084- string(%d) "%S"
085- bool(true)