1--TEST--
2Specifying non-default syntax in mb_ereg_search()
3--SKIPIF--
4<?php
5if (!extension_loaded('mbstring')) die('skip mbstring not enabled');
6if (!function_exists("mb_regex_search")) die("skip mb_regex_search() is not defined");
7?>
8--FILE--
9<?php
10
11mb_ereg_search_init("a");
12var_dump(mb_ereg_search("a\\{1,2\\}", "b"));
13
14?>
15--EXPECT--
16bool(true)
17