1--TEST--
2Check for empty pattern
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
5--FILE--
6<?php
7
8mb_ereg_search_init("","","");
9mb_split("","");
10mb_ereg_search_regs();
11
12?>
13--EXPECTF--
14Warning: mb_ereg_search_init(): Empty pattern in %s on line %d
15
16Warning: mb_ereg_search_regs(): No regex given in %s on line %d
17