xref: /PHP-8.1/ext/mbstring/tests/bug81693.phpt (revision 929d8471)
1--TEST--
2Bug #81693 (mb_check_encoding(7bit) segfaults)
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7var_dump(mb_check_encoding('Hello world', '7bit'));
8?>
9--EXPECT--
10bool(true)
11