Re: cvs: php-src(PHP_5_3) /ext/spl/tests dit_002.phpt
| From: | Jani Taskinen | Date: | Fri, 15 Aug 2008 15:21:58 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/spl/tests dit_002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52376@lists.php.net to get a copy of this message | ||
Fixed now. It didn't really matter, the test fails anyway if $val is not string. Just for different reason. :D
--Jani
Hannes Magnusson [hannes.magnusson@gmail.com] kirjoitti:
2008/8/15 Jani Taskinen <jani@php.net>:jani Thu Aug 14 23:28:12 2008 UTCModified files: (Branch: PHP_5_3) /php-src/ext/spl/tests dit_002.phptLog: 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)) {Uhh? In 5_3? -Hannes