3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Insurance { function clsName($this) { echo get_class(); } } $cl = new Insurance(); $cl->clsName(); Insurance::clsName();
based on Oj16u
Output for 7.1.25 - 7.3.1
Fatal error: Cannot use $this as parameter in /in/2qUMA on line 5
Process exited with code 255.