<?php for ($i = 0; $i < 20; ++$i) { if ($i !== 0 && $i % 8 === 0) { print "break"; } print $i;}
Standard input is empty
01234567break89101112131415break16171819
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!