3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array("one"=>1,"two"=>2,"three"=>3); foreach($a as $b) { echo current($a); }
Output for 7.0.0 - 7.2.0
111
Output for 5.3.20 - 5.6.21
222