3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo{} function Bar() { echo 'Bar'; } new Foo(Bar());
based on t6qJk
Output for 7.1.0
Bar
Output for 4.3.0 - 7.0.14