3v4l.org

run code in 300+ PHP versions simultaneously
<?php function evalCrossTotal($strMD5) { $intTotal = 0; $arrMD5Chars = str_split($strMD5, 1); foreach ($arrMD5Chars as $value) { $intTotal += '0x0'.$value; } return $intTotal; } evalCrossTotal(md5("something");
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
Parse error: syntax error, unexpected ';' in /in/bM2NI on line 12
Process exited with code 255.

preferences:
187.83 ms | 940 KiB | 63 Q