PHP - Interfaces and Traits
What will be the output of this PHP code?
trait A { function say() { echo 'A'; } } trait B { function say() { echo 'B'; } } class Test { use A, B { B::say insteadof A; } } $t = new Test(); $t->say();