3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface TypedDataInterface { public function getValue(); } interface FieldItemListInterface extends TypedDataInterface {} trait ComputedItemListTrait { public function getValue($include_computed = FALSE) {} } class FieldItemList implements FieldItemListInterface { public function getValue($include_computed = FALSE) {} } class CustomTypedData implements TypedDataInterface { use ComputedItemListTrait; } class CustomFieldItemList extends FieldItemList { use ComputedItemListTrait; }

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
229.59 ms | 2527 KiB | 8 Q