3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Insurance { function clsName() { } } $cl = new Insurance(); $cl->clsName(); Insurance::clsName();
based on q9dEr
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method Insurance::clsName() should not be called statically in /in/TiCIi on line 12
Output for 5.3.19 - 5.6.28
Strict Standards: Non-static method Insurance::clsName() should not be called statically in /in/TiCIi on line 12