3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = array( "one" => 1, 2 => 1, "three" => 1, "four" => 1, 5 => 1 ); foreach($x as $y){ $y++; } var_dump($x);
based on R7bhU