1--TEST-- 2mb_split() empty match 3--EXTENSIONS-- 4mbstring 5--SKIPIF-- 6<?php 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?> 14--EXPECT-- 15array(3) { 16 [0]=> 17 string(2) "a 18" 19 [1]=> 20 string(2) "b 21" 22 [2]=> 23 string(1) "c" 24} 25