cellog          Sat Aug 30 23:12:56 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/phar/tests     opendir_edgecases.phpt 
  Log:
  fix OS-dependent order in test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/opendir_edgecases.phpt?r1=1.2.2.1&r2=1.2.2.2&diff_format=u
Index: php-src/ext/phar/tests/opendir_edgecases.phpt
diff -u php-src/ext/phar/tests/opendir_edgecases.phpt:1.2.2.1 
php-src/ext/phar/tests/opendir_edgecases.phpt:1.2.2.2
--- php-src/ext/phar/tests/opendir_edgecases.phpt:1.2.2.1       Fri Aug  1 
13:38:47 2008
+++ php-src/ext/phar/tests/opendir_edgecases.phpt       Sat Aug 30 23:12:56 2008
@@ -19,7 +19,12 @@
 
 $a = opendir('poo');
 
+$arr = array();
 while (false !== ($b = readdir($a))) {
+    $arr[] = $b;
+}
+sort($arr);
+foreach ($arr as $b) {
     echo "$b\n";
 }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to