3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array("A","B","C"); var_dump(current($array)); var_dump(next($array)); ?>
Output for 4.3.0 - 7.2.0
string(1) "A" string(1) "B"