Test: /ext/standard/tests/assert/assert_variation.phpt - Version 7.1.3RC1    

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

Count Diff
2 (50%)
003+ bool(true)
003- f1 called
004- bool(false)
009+ bool(true)
010- f2 called
011- bool(false)
015+ bool(true)
017- f3 called
018- bool(false)
021+ bool(true)
024- bool(false)
033+ bool(true)
037- Deprecated: Non-static method c1::assert() should not be called statically in %s on line 53
038- Class assertion failed 53, "0 != 0"
039- bool(false)
040-
051+ bool(true)
057- Class assertion failed 61, "0 != 0"
058- bool(false)
2 (50%)
004- bool(false)
005+ Fatal error: Uncaught AssertionError: assert($sa) in %s/assert_variation.php:24
006+ Stack trace:
007+ #0 %s/assert_variation.php(24): assert('0 != 0', 'assert($sa)')
008+ #1 {main}
009+ thrown in %s/assert_variation.php on line 24
006- Change callback function using ini.set and test return value
007- string(2) "f1"
008- assert_options(ASSERT_CALLBACK) => [f2]
009- ini.get("assert.callback") => [f2]
010- f2 called
011- bool(false)
012-
013- Change callback function using assert_options and test return value
014- string(2) "f2"
015- assert_options(ASSERT_CALLBACK) => [f3]
016- ini.get("assert.callback") => [f2]
017- f3 called
018- bool(false)
019-
020- Reset the name of the callback routine to a class method and check that it works
021- string(2) "f3"
022- assert_options(ASSERT_CALLBACK) => [c1]
023- ini.get("assert.callback") => [f2]
024- bool(false)
025-
026- Reset callback options to use a class method
027- string(2) "c1"
028- array(2) {
029- [0]=>
030- string(2) "c1"
031- [1]=>
032- string(6) "assert"
033- }
034- ini.get("assert.callback") => [f2]
035-
036-
037- Deprecated: Non-static method c1::assert() should not be called statically in %s on line 53
038- Class assertion failed 53, "0 != 0"
039- bool(false)
040-
041- Reset callback options to use an object method
042- array(2) {
043- [0]=>
044- string(2) "c1"
045- [1]=>
046- string(6) "assert"
047- }
048- array(2) {
049- [0]=>
050- &object(c1)#1 (0) {
051- }
052- [1]=>
053- string(6) "assert"
054- }
055- ini.get("assert.callback") => [f2]
056-
057- Class assertion failed 61, "0 != 0"
058- bool(false)