3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = [ 'a', 'b', 'c' ]; while($letter=key($arr)) { echo $letter; next($arr); }
Output for 5.6.0 - 7.3.1