3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo {} $f = new Foo; var_dump(get_class($f));
Output for 5.0.0 - 7.1.0
string(3) "Foo"
Output for 4.3.0 - 4.4.9
string(3) "foo"