3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(get_object_vars((object)array('foo',array('foo bar', 'foo baz'))));
Output for 4.3.0 - 4.4.9, 7.0.0 - 7.1.0
Array ( [0] => foo [1] => Array ( [0] => foo bar [1] => foo baz ) )
Output for 5.0.0 - 5.6.28
Array ( )