3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dow = array("mon","tue","wed","thu","fri","sat","sun"); $inc = 3; foreach($dow) { echo $dow[($inc+(count($dow))) % (count($dow))]."\n"; $inc++; }
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected ')' in /in/MU1se on line 7
Process exited with code 255.