<?php class A {} class B {} interface i { function foo(A $a) : A ; } class C implements i { function foo(A|B $a) : A&B {} }
You have javascript disabled. You will not be able to edit any code.