3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface fooable { function foo(); } interface barable { function bar(); } interface foobar extends fooable, barable {} class FooBarImpl implements foobar { function foo() { echo "foo\n"; } function bar() { echo "bar\n"; } } $obj = new FooBarImpl(); $obj->foo(); $obj->bar();

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
153.52 ms | 2317 KiB | 10 Q