File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed
Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ ob_end_clean();
1515echo $ counter . "\n" ;
1616?>
1717--EXPECTF--
18- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
18+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1919
20- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
20+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2121
22- Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
22+ Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
23233
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ob_end_clean();
1515echo "Done \n" ;
1616?>
1717--EXPECTF--
18- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
18+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1919
20- Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
20+ Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2121Done
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ob_end_clean();
2222echo $ x . "\n" ;
2323?>
2424--EXPECTF--
25- Deprecated: X::__toString(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
25+ Deprecated: X::__toString(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2626
27- Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
27+ Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
2828abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabc
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ ob_start(function() {
1414});
1515?>
1616--EXPECTF--
17- Deprecated: PHP Request Shutdown: Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
17+ Deprecated: PHP Request Shutdown: Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ while (1) {
2929?>
3030--EXPECTF--
3131Success
32- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
32+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
3333
3434Fatal error: Allowed memory size of %s bytes exhausted%s(tried to allocate %s bytes) in %s on line %d
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ while (1) {
2929?>
3030--EXPECTF--
3131Success
32- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
32+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
3333
3434Fatal error: Allowed memory size of %s bytes exhausted%s(tried to allocate %s bytes) in %s on line %d
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ ob_end_clean();
1313echo $ counter . "\n" ;
1414?>
1515--EXPECTF--
16- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
16+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1717
18- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
18+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
1919
20- Deprecated: ob_end_clean(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
20+ Deprecated: ob_end_clean(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
21213
Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ var_dump(@fopen('php://stdout', 'a'));
3535--EXPECTF--
3636STDIN:
3737
38- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
38+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
3939bool(false)
4040
41- Deprecated: var_dump(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
41+ Deprecated: var_dump(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
4242STDERR:
4343
44- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
44+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
4545bool(false)
4646
47- Deprecated: var_dump(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
47+ Deprecated: var_dump(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
4848STDOUT:
4949
50- Deprecated: main(): Returning a non-string result from user output handler Closure::__invoke is deprecated in %s on line %d
50+ Deprecated: main(): Returning a non-string result from user output handler {closure:%s:%d} is deprecated in %s on line %d
5151bool(false)
You can’t perform that action at this time.
0 commit comments