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