From: Marcus Boerger Date: Sun, 21 May 2006 12:48:42 +0000 (+0000) Subject: - There is a problem in the string / unicode comparison here which we X-Git-Tag: BEFORE_NEW_OUTPUT_API~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9264ec9b63eafb4004797e39a34e274b4a9bb79b;p=php - There is a problem in the string / unicode comparison here which we do not want to test here, so simply drop the part which is irrelevant to the actual test --- diff --git a/ext/spl/tests/bug36287.phpt b/ext/spl/tests/bug36287.phpt index 29ae0e2c9d..0a1833e6fe 100755 --- a/ext/spl/tests/bug36287.phpt +++ b/ext/spl/tests/bug36287.phpt @@ -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;