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.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/iterator_035.phpt b/ext/spl/tests/iterator_035.phpt
index 307337431a..e6d68fbea6 100644
--- a/ext/spl/tests/iterator_035.phpt
+++ b/ext/spl/tests/iterator_035.phpt
@@ -2,7 +2,7 @@
SPL: ArrayIterator and values assigned by reference
--FILE--
<?php
-
+
$tmp = 1;
$a = new ArrayIterator();
@@ -11,7 +11,7 @@ $a[] = &$tmp;
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Notice: Indirect modification of overloaded element of ArrayIterator has no effect in %s on line %d
Fatal error: Uncaught Error: Cannot assign by reference to overloaded object in %s:%d