3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_language('japanese'); mb_internal_encoding('UTF-8'); $tmp = mb_split(',', 'みかん,りんご,ばなな,いちご,サカナ,とうもろこし'); print_r($tmp);
based on mbnQd
Output for 4.3.4 - 5.2.17, 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Array ( [0] => みかん [1] => りんご [2] => ばなな [3] => いちご [4] => サカナ [5] => とうもろこし )
Output for 5.3.0 - 5.5.38, hhvm-3.10.1 - 3.17.3
Array ( [0] => みかん [1] => りんご [2] => ばなな,いちご [3] => サカナ [4] => とうもろこし )
Output for 4.3.2 - 4.3.3
Fatal error: Call to undefined function: mb_split() in /in/7mDDM on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mb_split() in /in/7mDDM on line 5