3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class S { public function test() { echo "test\n"; } } S::test(); $s = new S; $s->test();
based on Rbo1p
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method S::test() should not be called statically in /in/7p85M on line 11 test test
Output for 5.3.20 - 5.6.28
Strict Standards: Non-static method S::test() should not be called statically in /in/7p85M on line 11 test test