]> granicus.if.org Git - php/commitdiff
- There is a problem in the string / unicode comparison here which we
authorMarcus Boerger <helly@php.net>
Sun, 21 May 2006 12:48:42 +0000 (12:48 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 21 May 2006 12:48:42 +0000 (12:48 +0000)
  do not want to test here, so simply drop the part which is irrelevant
  to the actual test

ext/spl/tests/bug36287.phpt

index 29ae0e2c9dba6f4b9534a5f36601405f6bcd479a..0a1833e6fe1734a0f01ef195fa8106ccb071e1f4 100755 (executable)
@@ -11,15 +11,9 @@ $idx = 0;
 foreach($it as $file)
 {
        echo "First\n";
-       if("." != $file && ".." != $file)
-       {
-               var_Dump($file->getFilename());
-       }
+       var_Dump($file->getFilename());
        echo "Second\n";
-       if($file != "." && $file != "..")
-       {
-               var_dump($file->getFilename());
-       }
+       var_dump($file->getFilename());
        if (++$idx > 1)
        {
                break;