This is an error 404
There are `0` results
preferences:
165.26 ms | 1399 KiB | 7 Q<?php
interface A {
public function foo();
}
interface B extends A {
public function bar();
}
interface C {
public function exec(A $obj);
}
class TestB implements B {
public function bar() { echo 'bar';}
public function foo() { echo 'foo';}
}
class Test implements C {
public function exec(B $obj) {
$obj->foo();
}
}
$testB = new TestB;
$test = new Test;
$test->exec($testB);