3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=0;$i<1000;$i++) { $vals = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'); $token = true; $j = 0; $val = 'a'; while($token) { if ($val == 'a') { echo 'a'; continue; } if ($val == 'b') { echo 'b'; continue; } if ($val == 'c') { echo 'c'; continue; } if ($val == 'd') { echo 'd'; continue; } if ($val == 'e') { echo 'e'; continue; } if ($val == 'f') { echo 'f'; continue; } $token = false; $val = $vals[$j]; $j++; } } exit;
based on FhZRQ