3v4l.org

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

This is an error 404

There are `0` results


preferences:
136.86 ms | 1399 KiB | 7 Q