3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class foo { function do_foo() { echo "Doing foo."; } } $bar = new foo; echo is_object($bar->do_foo());
Output for 4.3.0 - 7.1.0
Doing foo.