3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $items = array(1, 2, 3, 4, 5); while ( $item = current($items) ) { echo $item."\n"; if ( $item == 2 ) { $item = 9; prev($items); continue; } next($items); }
based on WtUc3

Abusive script

This script was stopped while abusing our resources