3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = new stdClass(); $obj->foo = 'bar'; $obj->hello = array('world'); print_r($obj);
Output for 4.3.0 - 7.1.0
stdClass Object ( [foo] => bar [hello] => Array ( [0] => world ) )