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; print $intTotal; print "/n" } return $intTotal; } $test = evalCrossTotal(md5("something")); print $test;
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25, 5.5.0 - 5.5.9
Parse error: syntax error, unexpected '}' in /in/NSm4c on line 11
Process exited with code 255.

preferences:
183.88 ms | 1395 KiB | 72 Q