3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i=7; $factor=2; do { if ($i < 5) { echo "i is not big enough"; break; } $i *= $factor; if ($i < $minimum_limit) { break; } echo "i is ok"; /* process i */ } while (0); ?>
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: minimum_limit in /in/LMROj on line 10 i is ok
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: minimum_limit in /in/LMROj on line 10 i is ok