diff options
Diffstat (limited to 'ext/spl/tests/iterator_035.phpt')
-rw-r--r-- | ext/spl/tests/iterator_035.phpt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/spl/tests/iterator_035.phpt b/ext/spl/tests/iterator_035.phpt deleted file mode 100644 index eebc7f22a4..0000000000 --- a/ext/spl/tests/iterator_035.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -SPL: ArrayIterator and values assigned by reference ---SKIPIF-- -<?php if (!extension_loaded("spl")) print "skip"; ?> ---FILE-- -<?php - -$tmp = 1; - -$a = new ArrayIterator(); -$a[] = $tmp; -$a[] = &$tmp; - -echo "Done\n"; -?> ---EXPECTF-- -Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %s on line %d |