3v4l.org

run code in 200+ 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.30, hhvm-3.10.1, 7.0.0 - 7.2.2
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.22.0
Fatal error: Uncaught Error: 'continue' operator with non-constant operand is no longer supported in /in/LdGAc:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.11.1 - 3.21.3
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