3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('a' => 'a', 'b' => 'b', 'c' => 'c'); foreach ($array as $array) { var_dump($array); } var_dump($array);
Output for 4.3.0 - 7.1.0
string(1) "a" string(1) "b" string(1) "c" string(1) "c"