3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new ArrayObject(); for( $i=0; $i<100; $i++ ){ $a->$i = $i*100; } foreach($a as $i){ echo $i; }
based on VfE6h
Output for 5.3.18 - 7.2.0