3v4l.org

run code in 300+ PHP versions simultaneously
<?hh //strict interface IFoo { public function boo() :string; } trait TFoo { public function boo() { return 1; } } class Foo implements IFoo { use TFoo; } $f = new Foo(); print($f->boo());

This is an error 404

There are `0` results


preferences:
162.47 ms | 1398 KiB | 7 Q