diff options
Diffstat (limited to 'ext/spl/tests/bug31348.phpt')
| -rw-r--r-- | ext/spl/tests/bug31348.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/spl/tests/bug31348.phpt b/ext/spl/tests/bug31348.phpt new file mode 100644 index 0000000..047e4b2 --- /dev/null +++ b/ext/spl/tests/bug31348.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #31348 (CachingIterator::rewind() leaks) +--FILE-- +<?php +$a = Array("some","blah"); +$i = new ArrayIterator($a); + +$ci = new CachingIterator($i); + +$ci->rewind(); + +?> +===DONE=== +--EXPECT-- +===DONE=== |
