Re: cvs: php-src(PHP_5_1) /ext/spl php_spl.c spl_directory.c spl_directory.h /ext/spl/examples nocvsdir.php /ext/spl/tests iterator_028.phpt
spl_autoload_004.phpt sxe_001.phpt sxe_004.phpt
| From: | Marcus Boerger | Date: | Tue, 29 Nov 2005 03:37:43 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_1) /ext/spl php_spl.c spl_directory.c spl_directory.h /ext/spl/examples nocvsdir.php /ext/spl/tests iterator_028.phpt spl_autoload_004.phpt sxe_001.phpt sxe_004.phpt |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-35467@lists.php.net to get a copy of this message | ||
Hello,
the main reason for this change is that the new SplFileInfo class can be
used as a return value for DirectoryIterator/RecursiveDirectoryIterator to
suppress problems when put into CacheingIterator/RecursiveCachingIterator.
By having the object returned one can circumvent the fact that the former
are active iterators while the caching iterator requires passive ones.
regards
marcus
Tuesday, November 29, 2005, 4:34:00 AM, you wrote:
> helly Mon Nov 28 22:34:00 2005 EDT
> Modified files: (Branch: PHP_5_1)
> /php-src/ext/spl php_spl.c spl_directory.c spl_directory.h
> /php-src/ext/spl/examples nocvsdir.php
> /php-src/ext/spl/tests iterator_028.phpt spl_autoload_004.phpt
> sxe_001.phpt sxe_004.phpt
> Log:
> - MFH Add class SplFileInfo as base for DirectoryIterator and SplFileObject
> # As discussed with ilia before 5.1.0
>
>
Best regards,
Marcus