3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Hello"; echo md5($str); echo ('< br>'); $split=(str_split(md5($str),2)); echo $split[0]; echo ('< br>'); echo $split[1]; echo ('< br>'); echo $split[2]; echo ('< br>'); echo md5($split[1]); ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
8b1a9953c4611296a827abf8c47804d7< br>8b< br>1a< br>99< br>efaa153b0f682ae5170a3184fa0df28c
Output for 4.4.5 - 4.4.9
8b1a9953c4611296a827abf8c47804d7< br> Fatal error: Call to undefined function: str_split() in /in/jN4Z9 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
8b1a9953c4611296a827abf8c47804d7< br> Fatal error: Call to undefined function: str_split() in /in/jN4Z9 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
8b1a9953c4611296a827abf8c47804d7< br> Fatal error: Call to undefined function: str_split() in /in/jN4Z9 on line 5