3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class foo { function bar() { echo 'I am not static!'; } } foo::bar(); ?>
based on qOE73
Output for 7.0.0 - 7.3.0beta1
Deprecated: Non-static method foo::bar() should not be called statically in /in/eDqLc on line 8 I am not static!
Output for hhvm-3.12.14 - 3.17.3
I am not static!
Output for 5.6.0 - 5.6.30
Strict Standards: Non-static method foo::bar() should not be called statically in /in/eDqLc on line 8 I am not static!