3v4l.org

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

This is an error 404

There are `0` results


preferences:
149.24 ms | 1390 KiB | 7 Q