<?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();
You have javascript disabled. You will not be able to edit any code.