3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = str_split('phpinfo',2); var_dump($str);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
array(4) { [0]=> string(2) "ph" [1]=> string(2) "pi" [2]=> string(2) "nf" [3]=> string(1) "o" }