3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach((object)array('0' => 'b') as $k => $v) { echo $k; }
Output for 4.3.0 - 4.4.9, 5.2.1 - 7.1.0
0
Output for 5.2.0

Process exited with code 139.
Output for 5.0.0 - 5.1.6