3v4l.org

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

This is an error 404

There are `0` results


preferences:
140.87 ms | 1399 KiB | 7 Q