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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to