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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php