Skip to content

Commit 72e3d85

Browse files
committed
Fix mbstring test with oniguruma deprecation
1 parent 388f307 commit 72e3d85

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Zend/tests/GHSA-wm6j-2649-pv75.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ mb_regex_encoding('iso-8859-11');
1515
mb_ereg_search_init('x');
1616
?>
1717
--EXPECTF--
18+
Deprecated: Function mb_regex_encoding() is deprecated since 8.6, because the underlying library is no longer maintained in %s on line %d
19+
1820
Fatal error: Uncaught ValueError: mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "iso-8859-11" given in %s:%d
1921
Stack trace:
2022
#0 %s(%d): mb_regex_encoding('iso-8859-11')

0 commit comments

Comments
 (0)