3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Best Class { function is Best Class() { echo "You bet I am!\n"; } } $foo = new Best Class(); $foo->is Best Class();
based on Sci9E
Output for 4.3.0 - 7.1.0
You bet I am!