[PATCH] RecursiveTreeIterator implementation
| From: | Arnaud Le Blanc | Date: | Tue, 08 Jul 2008 13:49:36 +0000 |
| Subject: | [PATCH] RecursiveTreeIterator implementation | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-38851@lists.php.net to get a copy of this message | ||
Hi,
I have seen a "NEEDS DEVELOPER" flag on the TODO for the "Implement
RecursiveTreeIterator in C" task, so I would like to propose my
implementation [1].
Currently it follows the PHP implementation, except that it does not have a
$prefix public property (how about a private property and a setter method ?).
I hope this patch will be useful. Please say me if anything is wrong with it.
[1] http://arnaud.lb.s3.amazonaws.com/RecursiveTreeIterator.patch
[2] http://arnaud.lb.s3.amazonaws.com/RecursiveTreeIterator-phpt.tar.bz2
Regards,
Arnaud