cvs: php-src /ext/spl/tests bug36287.phpt

From: Date: Mon, 06 Feb 2006 01:28:08 +0000
Subject: cvs: php-src /ext/spl/tests bug36287.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36775@lists.php.net to get a copy of this message
helly Mon Feb 6 01:28:08 2006 UTC Added files: /php-src/ext/spl/tests bug36287.phpt Log: - Add new test http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/tests/bug36287.phpt?view=markup&rev=1.1 Index: php-src/ext/spl/tests/bug36287.phpt +++ php-src/ext/spl/tests/bug36287.phpt --TEST-- Bug #36287 --FILE-- <?php $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator("."), true); $idx = 0; foreach($it as $file) { echo "First\n"; if("." != $file && ".." != $file) { var_Dump($file->getFilename()); } echo "Second\n"; if($file != "." && $file != "..") { var_dump($file->getFilename()); } if (++$idx > 1) { break; } } ?> ===DONE=== --EXPECTF-- First string(%d) "%s" Second string(%d) "%s" First string(%d) "%s" Second string(%d) "%s" ===DONE===

« previous php.cvs (#36775) next »