<?php trait A { function test(ArrayObject $a){ echo "hello A"; } function testA(){ $this->test(new ArrayObject); } } trait B { function test(SplFixedArray $b){ echo "hello B"; } function testB(){ $this->test(new SplFixedArray); } } class C { use A, B{ A::test insteadof B; } } (new C)->testA(); (new C)->testB();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`