PHP - Interfaces and Traits
Identify the error in this PHP code:
trait A {
public function say() {
return 'Hello';
}
}
class B {
use A;
public function say() {
return 'Hi';
}
}
$b = new B();
echo $b->say();