3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); ini_set('display_errors', 1); break; echo "Hier\n";
Output for 7.1.0 - 7.1.23, 7.2.0 - 7.2.11
Fatal error: 'break' not in the 'loop' or 'switch' context in /in/3ZWL2 on line 7
Process exited with code 255.
Output for 5.6.38
Fatal error: Cannot break/continue 1 level in /in/3ZWL2 on line 7
Process exited with code 255.

preferences:
178.4 ms | 1386 KiB | 44 Q