3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = range(0,100); $i = 0; foreach ($a as $b) { $i++; } echo $i; ?>
Output for 4.3.0 - 7.1.0
101