3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function evalCrossTotal($strMD5) { $intTotal = 0; $arrMD5Chars = str_split($strMD5, 1); print $arrMD5Chars[]; foreach ($arrMD5Chars as $value) { $intTotal += '0x0'.$value; } return $intTotal; } evalCrossTotal(md5('something')); print md5('something');
Output for 5.3.0 - 5.5.9
Fatal error: Cannot use [] for reading in /in/D6mHb on line 6
Process exited with code 255.