3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = new StdClass(); $array->hu3 = "BR"; $array->lol = "HU"; $array->xpto = "xpp"; foreach( $array as $key => $val ) { echo $key . " " . $val . "<br />"; } ?>
Output for 4.3.0 - 7.1.0
hu3 BR<br />lol HU<br />xpto xpp<br />