3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array ( 'a' => "ana", 'b' => 2, 'c' => 3); foreach ($a as $value) {} var_dump(current($a));
based on 0lrQZ
Output for 7.0.0 - 7.3.0rc3
string(3) "ana"
Output for 5.6.0 - 5.6.26
bool(false)