- use something we know it exists...

This commit is contained in:
Pierre Joye 2011-09-06 07:26:05 +00:00
parent 80a2175c37
commit 1d22c75eb3

View file

@ -5,7 +5,7 @@ Havard Eide <nucleuz@gmail.com>
#PHPTestFest2009 Norway 2009-06-09 \o/
--FILE--
<?php
$it = new DirectoryIterator("/tmp");
$it = new DirectoryIterator(__DIR__);
foreach( $it as &$file ) {
echo $file . "\n";
}