3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function addSum(){ $sum = 0; foreach( $i = 1; $i++ ; $i <= 100) { $sum += $i; } return $sum; }
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected ';' in /in/fFvRA on line 6
Process exited with code 255.