3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class C { public function m() { print 'PPPPPPPPPPPPPP'; } } $c = new C; $c::m();
Output for 7.0.0 - 7.2.6
Deprecated: Non-static method C::m() should not be called statically in /in/06vv4 on line 11 PPPPPPPPPPPPPP
Output for hhvm-3.15.4
PPPPPPPPPPPPPP
Output for 5.6.0 - 5.6.30
Strict Standards: Non-static method C::m() should not be called statically in /in/06vv4 on line 11 PPPPPPPPPPPPPP