3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array( 'dingo', 'wombat', 'wallaby' ); $it = new ArrayIterator( $array ); print_r($it); print_r($array); echo array($it);