3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 5; ++$i) { if ($i == 2) continue print "$i\n"; }
Output for 5.4.0 - 5.6.26, hhvm-3.10.0, 7.0.0 - 7.1.0
Fatal error: 'continue' operator with non-constant operand is no longer supported in /in/LdGAc on line 6
Process exited with code 255.
Output for hhvm-3.12.0 - 3.13.2
Fatal error: Uncaught Error: 'continue' operator with non-constant operand is no longer supported in /in/LdGAc:6 Stack trace: #0 {main}
Process exited with code 255.
Output for 4.3.0 - 5.3.29
2