3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "Hello"; foreach (array(1,2,3) as $value) { break -1; } print "world";
Output for 5.4.0 - 5.4.26
Fatal error: 'break' operator accepts only positive numbers in /in/1uBRs on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Helloworld

preferences:
187.75 ms | 1395 KiB | 64 Q