3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait A { abstract function x(x $arg); } trait B { abstract function x(y $arg); } new class { use A, B { B::x insteadof A; } function x(y $arg){} }; new class { use A, B { B::x insteadof A; } function x(x $arg){} };

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
185.91 ms | 2664 KiB | 10 Q