3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface I { public function foo(); } class C implements I { public static function foo() {echo __CLASS__;} } var_dump (new C instanceof I); $c = new C; $c->foo();
Output for 7.3.0rc3
Fatal error: Cannot make non static method I::foo() static in class C in /in/JVK2Q on line 7
Process exited with code 255.