diff --git a/tests/iterable/any_array.phpt b/tests/iterable/any_array.phpt index 09e28aa..ebee711 100644 --- a/tests/iterable/any_array.phpt +++ b/tests/iterable/any_array.phpt @@ -72,7 +72,7 @@ bool(true) int(2) *** Testing second argument to predicate *** -Caught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected +Caught ArgumentCountError: Too few arguments to function {closur%s}(), 1 passed and exactly 2 expected *** Testing edge cases *** bool(false) diff --git a/tests/iterable/fold_traversable.phpt b/tests/iterable/fold_traversable.phpt index 5b013b1..1ce0d4a 100644 --- a/tests/iterable/fold_traversable.phpt +++ b/tests/iterable/fold_traversable.phpt @@ -46,9 +46,9 @@ string(10) "helloworld" string(12) "HELLO WORLD!" string(12) "HELLO WORLD!" -Warning: {closure}(): Argument #1 ($carry) must be passed by reference, value given in %s on line 12 +Warning: {closur%s}(): Argument #1 ($carry) must be passed by reference, value given in %s on line 12 -Warning: {closure}(): Argument #1 ($carry) must be passed by reference, value given in %s on line 12 +Warning: {closur%s}(): Argument #1 ($carry) must be passed by reference, value given in %s on line 12 -Warning: {closure}(): Argument #1 ($carry) must be passed by reference, value given in %s on line 12 +Warning: {closur%s}(): Argument #1 ($carry) must be passed by reference, value given in %s on line 12 string(12) "HELLO WORLD!" diff --git a/tests/iterable/none_array.phpt b/tests/iterable/none_array.phpt index 5e69706..ad49054 100644 --- a/tests/iterable/none_array.phpt +++ b/tests/iterable/none_array.phpt @@ -72,7 +72,7 @@ bool(false) int(2) *** Testing second argument to predicate *** -Caught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected +Caught ArgumentCountError: Too few arguments to function {closur%s}(), 1 passed and exactly 2 expected *** Testing edge cases *** bool(true) diff --git a/tests/misc/strict_hash.phpt b/tests/misc/strict_hash.phpt index 8202f82..8ab86ef 100644 --- a/tests/misc/strict_hash.phpt +++ b/tests/misc/strict_hash.phpt @@ -64,7 +64,7 @@ foreach ($values as $value) { $all[$hash] = $value; } ?> ---EXPECT-- +--EXPECTF-- NULL => 0x06742e765a0a0214 bool(false) @@ -153,10 +153,10 @@ object(stdClass)#1 (0) { object(stdClass)#2 (0) { } => 0xb8d3134c0b865909 -object(Closure)#3 (0) { +object(Closure)#3 (%d) {%A } => 0x91bcd0ffe3de8667 -object(Closure)#4 (0) { +object(Closure)#4 (%d) {%A } => 0x6aa58db3bc37b4c5 resource(1) of type (stream) @@ -170,4 +170,4 @@ float(NAN) float(NAN) => 0x6a289d03903422a8 (Already saw) float(NAN) -=> 0x6a289d03903422a8 (Already saw) \ No newline at end of file +=> 0x6a289d03903422a8 (Already saw)