3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function a($start_index) { for($i = $start_index; $i < 10; $i++) echo "\$i = $i\n"; } a(null);
Output for 4.3.0 - 7.2.0
$i = $i = 1 $i = 2 $i = 3 $i = 4 $i = 5 $i = 6 $i = 7 $i = 8 $i = 9