3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo(int $arg) { return $arg; } var_dump(foo(new stdClass()));
based on qe8hb