xref: /PHP-7.1/ext/mbstring/tests/bug72399.phpt (revision 3d564187)
1--TEST--
2Bug #72399 (Use-After-Free in MBString (search_re))
3--FILE--
4<?php
5$var5 = mbereg_search_init("","2");
6$var6 = mb_eregi_replace("2","","");
7$var13 = mbereg_search_pos();
8?>
9--EXPECTF--
10Warning: mbereg_search_pos(): No regex given in %sbug72399.php on line %d
11