]> granicus.if.org Git - php/commitdiff
- Test addition
authorMarcus Boerger <helly@php.net>
Fri, 3 Mar 2006 22:58:13 +0000 (22:58 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 3 Mar 2006 22:58:13 +0000 (22:58 +0000)
ext/spl/tests/iterator_032.phpt

index 7d15456155e89065926e59afc9ae3b83a4e4bd1c..86695d4af8e0107ac76b65d781b11d4da4c1a14d 100755 (executable)
@@ -34,6 +34,9 @@ catch(OutOfBoundsException $e)
        echo $e->getMessage() . "\n";
 }
 
+$it->next();
+var_dump($it->valid());
+
 ?>
 ===DONE===
 <?php exit(0); ?>
@@ -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===