xref: /PHP-8.0/ext/mbstring/tests/bug73646.phpt (revision 1059e3dc)
1--TEST--
2Bug #73646 (mb_ereg_search_init null pointer dereference)
3--SKIPIF--
4<?php
5require 'skipif.inc';
6if (!function_exists('mb_ereg')) die('skip mbregex support not available');
7?>
8--FILE--
9<?php
10var_dump(mb_ereg_search_init(NULL));
11?>
12--EXPECT--
13bool(true)
14