3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait A { abstract function test(ArrayObject $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 B, A; }

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
152.47 ms | 2799 KiB | 10 Q