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;
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected end of file in /in/3AEdS on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/3AEdS on line 10
Process exited with code 255.

preferences:
180.71 ms | 1395 KiB | 62 Q