Skip to content

Commit 4327b11

Browse files
committed
Fix test expectation
As of PHP 8.0.0, array to string conversion raises a warning.
1 parent 8f4d07b commit 4327b11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mbstring/tests/bug79149.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ var_dump(mb_convert_encoding('foo', 'UTF-8', array(['bar'], ['baz'])));
1313
Warning: mb_convert_encoding(): Illegal character encoding specified in %s on line %d
1414
string(0) ""
1515

16-
Notice: Array to string conversion in %s on line %d
16+
Warning: Array to string conversion in %s on line %d
1717

18-
Notice: Array to string conversion in %s on line %d
18+
Warning: Array to string conversion in %s on line %d
1919

2020
Warning: mb_convert_encoding(): Illegal character encoding specified in %s on line %d
2121
string(3) "foo"

0 commit comments

Comments
 (0)