cvs: php-src /ext/spl/tests bug31348.phpt
| From: | Marcus Boerger | Date: | Mon, 24 Jan 2005 20:22:56 +0000 |
| Subject: | cvs: php-src /ext/spl/tests bug31348.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30107@lists.php.net to get a copy of this message | ||
helly Mon Jan 24 15:22:56 2005 EDT
Added files:
/php-src/ext/spl/tests bug31348.phpt
Log:
- Add new test
http://cvs.php.net/co.php/php-src/ext/spl/tests/bug31348.phpt?r=1.1&p=1
Index: php-src/ext/spl/tests/bug31348.phpt
+++ php-src/ext/spl/tests/bug31348.phpt
--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===