3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { function a() { echo 'g'; } static function r() { self::a(); } } Test::r();
based on 63cuD
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method Test::a() should not be called statically in /in/RasMO on line 8 g
Output for 5.3.22 - 5.6.28
Strict Standards: Non-static method Test::a() should not be called statically in /in/RasMO on line 8 g