<?php $data = new class implements \ArrayAccess { public function offsetExists($offset) { echo "offsetExists\n"; } public function offsetGet($offset) { echo "offsetGet\n"; } public function offsetSet($offset, $value) { } public function offsetUnset($offset) { } }; echo "isset:\n"; isset($data['foo']) ? NULL : NULL; echo "null coalescing operator:\n"; $data['foo'] ?? NULL;
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`