3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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.5.9
Parse error: syntax error, unexpected '}' in /in/NSm4c on line 11
Process exited with code 255.