3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Hello5werf2234534gghhf65567"; echo md5($str); echo ('< br>'); $split=(str_split(md5($str),10)); echo ('-16/16-'); echo $split[0]; echo ('< br>'); echo $split[1]; 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
05e8cbb624e668dec49324a87ff86acf< br>-16/16-05e8cbb624< br>e668dec493< br>d085e7e677bf70f8efbf1ce9800f7eb2
Output for 4.4.5 - 4.4.9
05e8cbb624e668dec49324a87ff86acf< br> Fatal error: Call to undefined function: str_split() in /in/r0k3C on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
05e8cbb624e668dec49324a87ff86acf< br> Fatal error: Call to undefined function: str_split() in /in/r0k3C on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
05e8cbb624e668dec49324a87ff86acf< br> Fatal error: Call to undefined function: str_split() in /in/r0k3C on line 5