Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61202 invoked from network); 8 Jul 2008 13:50:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2008 13:50:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 216.239.58.185 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 216.239.58.185 gv-out-0910.google.com Received: from [216.239.58.185] ([216.239.58.185:59936] helo=gv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/25-32540-8A073784 for ; Tue, 08 Jul 2008 09:50:34 -0400 Received: by gv-out-0910.google.com with SMTP id e6so422183gvc.37 for ; Tue, 08 Jul 2008 06:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=JF24LBhy79pLvFAzdRfplYG3SRylravQZJMbfH30Nww=; b=GZYsbBfgIqmUA87z3BnFB+Fz+u0fWuacUWYiEGHXTGY/oxNrY+JlDpH28H1N5uPWF/ zpbK0WGpUFHn0QyWv4VUpBWTdTmo9FV9gyQbexV/v1oZFdz9GD0Od6TKkS96d4+FnaZv WXiKhFPVYU9+FUAzIWjW+IdZu8lUWyiTA0RWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=wJRYTSD2jEQjB/RbEfdyUPEUvU8I6pFZfEbyhZNhYrno2sbZxV2FYsj8vZgjxaqTK8 3tmV+fUZnY/wmvKIEwEYUu4fPqg97MHzy2/C/3M1a+hwAiflvFgW/3zlOz7PqG0n5q0j le9fMZurSUr5r79gLoD4+FRdQ2ti2UgZ5C084= Received: by 10.125.121.18 with SMTP id y18mr1350749mkm.113.1215525029372; Tue, 08 Jul 2008 06:50:29 -0700 (PDT) Received: from 207-177-41-213.getmyip.com ( [213.41.177.207]) by mx.google.com with ESMTPS id 30sm3248070hue.55.2008.07.08.06.50.27 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Jul 2008 06:50:28 -0700 (PDT) To: "internals" Date: Tue, 8 Jul 2008 15:49:36 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200807081549.36758.arnaud.lb@gmail.com> Subject: [PATCH] RecursiveTreeIterator implementation From: arnaud.lb@gmail.com ("Arnaud Le Blanc") 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