Test: /ext/spl/tests/class_uses_variation2.phpt - Version 8.0.0-dev    

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

Count Diff
10 (71%)
002+ Error: 8 - Undefined variable: undefined_var, %s/class_uses_variation2.php(94)
003+ Error: 8 - Undefined variable: unset_var, %s/class_uses_variation2.php(97)
4 (29%)
003+ Fatal error: Uncaught ArgumentCountError: Too few arguments to function test_error_handler(), 4 passed and exactly 5 expected in %s/class_uses_variation2.php:14
004+ Stack trace:
005+ #0 %s/class_uses_variation2.php(94): test_error_handler(8, 'Undefined varia...', '/home/travis/bu...', 94)
006+ #1 {main}
007+ thrown in %s/class_uses_variation2.php on line 14
003- --int 0--
004- array(1) {
005- ["foo"]=>
006- string(3) "foo"
007- }
008-
009- --int 1--
010- array(1) {
011- ["foo"]=>
012- string(3) "foo"
013- }
014-
015- --int 12345--
016- array(1) {
017- ["foo"]=>
018- string(3) "foo"
019- }
020-
021- --int -12345--
022- array(1) {
023- ["foo"]=>
024- string(3) "foo"
025- }
026-
027- --float 10.5--
028- array(1) {
029- ["foo"]=>
030- string(3) "foo"
031- }
032-
033- --float -10.5--
034- array(1) {
035- ["foo"]=>
036- string(3) "foo"
037- }
038-
039- --float 12.3456789000e10--
040- array(1) {
041- ["foo"]=>
042- string(3) "foo"
043- }
044-
045- --float -12.3456789000e10--
046- array(1) {
047- ["foo"]=>
048- string(3) "foo"
049- }
050-
051- --float .5--
052- array(1) {
053- ["foo"]=>
054- string(3) "foo"
055- }
056-
057- --empty array--
058- Error: 2 - class_uses() expects parameter 2 to be bool, array given, %s(%d)
059- bool(false)
060-
061- --int indexed array--
062- Error: 2 - class_uses() expects parameter 2 to be bool, array given, %s(%d)
063- bool(false)
064-
065- --associative array--
066- Error: 2 - class_uses() expects parameter 2 to be bool, array given, %s(%d)
067- bool(false)
068-
069- --nested arrays--
070- Error: 2 - class_uses() expects parameter 2 to be bool, array given, %s(%d)
071- bool(false)
072-
073- --uppercase NULL--
074- array(1) {
075- ["foo"]=>
076- string(3) "foo"
077- }
078-
079- --lowercase null--
080- array(1) {
081- ["foo"]=>
082- string(3) "foo"
083- }
084-
085- --lowercase true--
086- array(1) {
087- ["foo"]=>
088- string(3) "foo"
089- }
090-
091- --lowercase false--
092- array(1) {
093- ["foo"]=>
094- string(3) "foo"
095- }
096-
097- --uppercase TRUE--
098- array(1) {
099- ["foo"]=>
100- string(3) "foo"
101- }
102-
103- --uppercase FALSE--
104- array(1) {
105- ["foo"]=>
106- string(3) "foo"
107- }
108-
109- --empty string DQ--
110- array(1) {
111- ["foo"]=>
112- string(3) "foo"
113- }
114-
115- --empty string SQ--
116- array(1) {
117- ["foo"]=>
118- string(3) "foo"
119- }
120-
121- --instance of classWithToString--
122- Error: 2 - class_uses() expects parameter 2 to be bool, object given, %s(%d)
123- bool(false)
124-
125- --instance of classWithoutToString--
126- Error: 2 - class_uses() expects parameter 2 to be bool, object given, %s(%d)
127- bool(false)
128-
129- --undefined var--
130- array(1) {
131- ["foo"]=>
132- string(3) "foo"
133- }
134-
135- --unset var--
136- array(1) {
137- ["foo"]=>
138- string(3) "foo"
139- }
140-
141- --resource--
142- Error: 2 - class_uses() expects parameter 2 to be bool, resource given, %s(%d)
143- bool(false)
144- ===DONE===