From: Marcus Boerger Date: Fri, 3 Mar 2006 22:58:13 +0000 (+0000) Subject: - Test addition X-Git-Tag: RELEASE_1_2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=742c59862df0e5a9be089c6e66eac20ce48457d4;p=php - Test addition --- diff --git a/ext/spl/tests/iterator_032.phpt b/ext/spl/tests/iterator_032.phpt index 7d15456155..86695d4af8 100755 --- a/ext/spl/tests/iterator_032.phpt +++ b/ext/spl/tests/iterator_032.phpt @@ -34,6 +34,9 @@ catch(OutOfBoundsException $e) echo $e->getMessage() . "\n"; } +$it->next(); +var_dump($it->valid()); + ?> ===DONE=== @@ -45,4 +48,5 @@ int(2) Cannot seek to 0 which is below the offset 1 int(3) Cannot seek to 3 which is behind offest 1 plus count 2 +bool(false) ===DONE===