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