run code in 200+ php & hhvm versions
Bugs & Features
<?php interface I { public function foo(); } class C implements I { public function foo() {echo __CLASS__;} public static function s() {echo __CLASS__;} } var_dump (new C instanceof I); $c = new C; $c::c();
Output for 7.3.0rc3
bool(true) Fatal error: Uncaught Error: Call to undefined method C::c() in /in/sAsTP:14 Stack trace: #0 {main} thrown in /in/sAsTP on line 14
Process exited with code 255.