<?php interface i { function foo(self $i); } class x implements i { //Declaration of x::foo(x $i) must be compatible with i::foo(i $i) function foo(self $i) {} // OK function foo(i $i) {} }
You have javascript disabled. You will not be able to edit any code.