1--TEST--
2mb_split() empty match
3--
4--SKIPIF--
5<?php
6extension_loaded('mbstring') or die('skip');
7function_exists('mb_split') or die("skip mb_split() is not available in this build");
8?>
9--FILE--
10<?php
11mb_regex_set_options('m');
12var_dump(mb_split('^', "a\nb\nc"));
13--EXPECT--
14array(3) {
15  [0]=>
16  string(2) "a
17"
18  [1]=>
19  string(2) "b
20"
21  [2]=>
22  string(1) "c"
23}
24