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