summaryrefslogtreecommitdiff
path: root/tests/classes/array_access_012.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/array_access_012.phpt')
-rwxr-xr-xtests/classes/array_access_012.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/classes/array_access_012.phpt b/tests/classes/array_access_012.phpt
index d7503ec05..8f85f296e 100755
--- a/tests/classes/array_access_012.phpt
+++ b/tests/classes/array_access_012.phpt
@@ -31,4 +31,6 @@ $data['element'] = &$test;
<?php exit(0); ?>
--EXPECTF--
-Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_012.php on line %d
+Notice: Indirect modification of overloaded element of ArrayAccessImpl has no effect in %sarray_access_012.php on line 24
+
+Fatal error: Cannot assign by reference to overloaded object in %sarray_access_012.php on line 24