3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class foo { function bar() { echo 'I am not static!'; } } foo::bar();
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method foo::bar() should not be called statically in /in/ADnjl on line 8 I am not static!
Output for 5.3.18 - 5.6.28
Strict Standards: Non-static method foo::bar() should not be called statically in /in/ADnjl on line 8 I am not static!