3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Hello5werf2234534gghhf65567"; echo md5($str); echo ('< br>'); $split=(str_split(md5($str),16)); 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-05e8cbb624e668de< br>c49324a87ff86acf< br>09a01c125641d0d61a49fde943168548
Output for 4.4.5 - 4.4.9
05e8cbb624e668dec49324a87ff86acf< br> Fatal error: Call to undefined function: str_split() in /in/HuaP9 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/HuaP9 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/HuaP9 on line 5