xref: /PHP-8.1/ext/mbstring/tests/bug73532.phpt (revision 4083600b)
1--TEST--
2Bug #73532 (Null pointer dereference in mb_eregi)
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php
7if (!function_exists('mb_ereg')) die('skip mbregex support not available');
8?>
9--FILE--
10<?php
11var_dump(mb_eregi("a", "\xf5"));
12?>
13--EXPECT--
14bool(false)
15