3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array("one", "two", "three"); reset($arr); while (list(, $value) = each($arr)) { echo "Value: $value<br />\n"; }
based on 4utJW
Output for 4.3.0 - 7.1.0
Value: one<br /> Value: two<br /> Value: three<br />