3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding("UTF-8"); $mb_string = 'žščř'; $l=mb_strlen($mb_string); for($i=0;$i<$l;$i++) { print(mb_substr($mb_string,$i,1)."<br/>"); } $array = mb_split($mb_string); echo $array[0]; ?>
Output for 4.3.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
ž<br/>š<br/>č<br/>ř<br/> Warning: mb_split() expects at least 2 parameters, 1 given in /in/3qkEI on line 13
Output for 4.3.2 - 4.3.3
ž<br/>š<br/>č<br/>ř<br/> Fatal error: Call to undefined function: mb_split() in /in/3qkEI on line 13
Process exited with code 255.
Output for 4.3.0 - 4.3.1
ž<br/>š<br/>č<br/>ř<br/> Fatal error: Call to undefined function: mb_split() in /in/3qkEI on line 13