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(); $f->boo();

This is an error 404

There are `0` results


preferences:
157.48 ms | 1399 KiB | 7 Q