3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { function yo() { echo 'yo'; } } $a = new A; $a->yo();
based on mUlV5
Output for 4.3.0 - 7.2.6
yo