3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(array(1,2,3) as $item){ break 0; } print 'done';
Output for 5.4.0 - 5.4.26
Fatal error: 'break' operator accepts only positive numbers in /in/WuBk2 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29
done