3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); ini_set('display_errors', 1); echo "BEFORE fatal error\n"; continue; echo "AFTER fatal error\n";
based on dD6PN
Output for 7.0.28 - 7.3.0rc3
Fatal error: 'continue' not in the 'loop' or 'switch' context in /in/Gg5ZW on line 8
Process exited with code 255.
Output for 5.6.38
BEFORE fatal error Fatal error: Cannot break/continue 1 level in /in/Gg5ZW on line 8
Process exited with code 255.