jani            Thu Aug 14 23:28:12 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/spl/tests      dit_002.phpt 
  Log:
  MFH
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_002.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/spl/tests/dit_002.phpt
diff -u php-src/ext/spl/tests/dit_002.phpt:1.1.2.3 
php-src/ext/spl/tests/dit_002.phpt:1.1.2.4
--- php-src/ext/spl/tests/dit_002.phpt:1.1.2.3  Sat May 24 14:10:43 2008
+++ php-src/ext/spl/tests/dit_002.phpt  Thu Aug 14 23:28:12 2008
@@ -1,5 +1,7 @@
 --TEST--
 SPL: DirectoryIterator defaults
+--SKIPIF--
+<?php if (!extension_loaded("spl") || !extension_loaded('reflection')) print 
"skip"; ?>
 --FILE--
 <?php
 
@@ -29,7 +31,7 @@
                        var_dump($obj->getFlags());
                        if ($isstring) {
                                $val = $obj->current();
-                               if (is_string($val)) {
+                               if (is_string($val) || is_unicode($val)) {
                                        var_dump(true);
                                } else {
                                        var_dump($val);



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

Reply via email to