3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = (object)['foo' => 'bar']; var_dump($obj);