3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = 0; $end = 10; $comparator = '<'; $comparatorExpression = null; $i = $start; for ( ; ; ) { switch ($comparator) { case '<'; $comparatorExpression = "$i < $end"; break; } if (!$comparatorExpression) { break; } $i++; echo $i; }

Abusive script

This script was stopped while abusing our resources