3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i6 = 0; $i6 < 9; $i6++) { for ($i7 = 0; $i7 < 10; $i7++) { $a = array($i6,$i7); } } var_dump($a); var_dump($i6); var_dump($i7);
based on A6tjJ
Output for 5.3.18 - 7.3.0rc4
array(2) { [0]=> int(8) [1]=> int(9) } int(9) int(10)