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

From: Date: Sun, 21 May 2006 12:48:42 +0000
Subject: cvs: php-src /ext/spl/tests bug36287.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38333@lists.php.net to get a copy of this message
helly Sun May 21 12:48:42 2006 UTC Modified files: /php-src/ext/spl/tests bug36287.phpt Log: - 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 http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/tests/bug36287.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/spl/tests/bug36287.phpt diff -u php-src/ext/spl/tests/bug36287.phpt:1.2 php-src/ext/spl/tests/bug36287.phpt:1.3 --- php-src/ext/spl/tests/bug36287.phpt:1.2 Thu Mar 23 15:05:02 2006 +++ php-src/ext/spl/tests/bug36287.phpt Sun May 21 12:48:42 2006 @@ -11,15 +11,9 @@ 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;

« previous php.cvs (#38333) next »