Skip to content

Commit 9271ab2

Browse files
committed
Fix test
1 parent 3f5a536 commit 9271ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/tests/bug77275.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Foo;
1111
class Bar { public function get() {} }
1212
class Record implements \ArrayAccess {
1313
public function offsetSet($offset, $value): void { throw new \Exception; }
14-
public function offsetGet($offset): mixed { var_dump($offset); }
14+
public function offsetGet($offset): mixed { var_dump($offset); return null; }
1515
public function offsetExists($offset): bool { throw new \Exception; }
1616
public function offsetUnset($offset): void { throw new \Exception; }
1717
}

0 commit comments

Comments
 (0)