summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/classes/array_access_005.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/array_access_005.phpt b/tests/classes/array_access_005.phpt
index be808691b9..5c6271d257 100755
--- a/tests/classes/array_access_005.phpt
+++ b/tests/classes/array_access_005.phpt
@@ -14,7 +14,7 @@ class Peoples implements ArrayAccess {
return array_key_exists($this->person, $index);
}
- function offsetGet($index) {
+ function &offsetGet($index) {
return $this->person[$index];
}