We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f5a536 commit 9271ab2Copy full SHA for 9271ab2
ext/opcache/tests/bug77275.phpt
@@ -11,7 +11,7 @@ namespace Foo;
11
class Bar { public function get() {} }
12
class Record implements \ArrayAccess {
13
public function offsetSet($offset, $value): void { throw new \Exception; }
14
- public function offsetGet($offset): mixed { var_dump($offset); }
+ public function offsetGet($offset): mixed { var_dump($offset); return null; }
15
public function offsetExists($offset): bool { throw new \Exception; }
16
public function offsetUnset($offset): void { throw new \Exception; }
17
}
0 commit comments