3v4l.org

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