3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class T { public static function __callStatic($method, $args) { echo "__callStatic() called\n"; } public function f() { echo "f() called\n"; } } T::f();
based on CcLv8
Output for 7.0.0 - 7.2.0
Deprecated: Non-static method T::f() should not be called statically in /in/rsR71 on line 15 f() called
Output for hhvm-3.10.1 - 3.17.3
f() called
Output for 5.4.0 - 5.6.30
Strict Standards: Non-static method T::f() should not be called statically in /in/rsR71 on line 15 f() called