<?php class Foo implements ArrayAccess { public function offsetGet(mixed $offset) { } public function offsetExists(mixed $offset) { } public function offsetSet(mixed $offset, mixed $value) { } public function offsetUnset(mixed $offset) { } } class Foo81 implements ArrayAccess { #[\ReturnTypeWillChange] public function offsetGet(mixed $offset) { } #[\ReturnTypeWillChange] public function offsetExists(mixed $offset) { } #[\ReturnTypeWillChange] public function offsetSet(mixed $offset, mixed $value) { } #[\ReturnTypeWillChange] public function offsetUnset(mixed $offset) { } } class Foo81ForReal implements ArrayAccess { public function offsetGet(mixed $offset): string { } public function offsetExists(mixed $offset): bool { } public function offsetSet(mixed $offset, mixed $value): void { } public function offsetUnset(mixed $offset): void { } }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`