cvs: php-src /ext/spl/tests array_014.phpt
| From: | Marcus Boerger | Date: | Wed, 29 Sep 2004 19:36:30 +0000 |
| Subject: | cvs: php-src /ext/spl/tests array_014.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28844@lists.php.net to get a copy of this message | ||
helly Wed Sep 29 15:36:30 2004 EDT
Modified files:
/php-src/ext/spl/tests array_014.phpt
Log:
- Update test
http://cvs.php.net/diff.php/php-src/ext/spl/tests/array_014.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/spl/tests/array_014.phpt
diff -u php-src/ext/spl/tests/array_014.phpt:1.1 php-src/ext/spl/tests/array_014.phpt:1.2
--- php-src/ext/spl/tests/array_014.phpt:1.1 Tue Aug 31 16:54:31 2004
+++ php-src/ext/spl/tests/array_014.phpt Wed Sep 29 15:36:30 2004
@@ -16,8 +16,10 @@
$it->seek(12);
var_dump($it->current());
+$pos = 0;
foreach($it as $v)
{
+ $it->seek($pos++);
var_dump($v);
}