summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_035.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_035.phpt')
-rw-r--r--ext/spl/tests/iterator_035.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/spl/tests/iterator_035.phpt b/ext/spl/tests/iterator_035.phpt
index 9ce098b69d..fc0271e381 100644
--- a/ext/spl/tests/iterator_035.phpt
+++ b/ext/spl/tests/iterator_035.phpt
@@ -12,4 +12,6 @@ $a[] = &$tmp;
echo "Done\n";
?>
--EXPECTF--
+Notice: Indirect modification of overloaded element of ArrayIterator has no effect in %s on line %d
+
Fatal error: Cannot assign by reference to overloaded object in %s on line %d