|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35423 RecursiveDirectoryIterator doesnt appear to recurse with RecursiveFilterIterator
Submitted: 2005-11-27 12:33 UTC Modified: 2005-11-27 13:28 UTC
From: Jared dot Williams1 at ntlworld dot com Assigned: helly (profile)
Status: Closed Package: SPL related
PHP Version: 5.1.0 OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: Jared dot Williams1 at ntlworld dot com
New email:
PHP Version: OS:


 [2005-11-27 12:33 UTC] Jared dot Williams1 at ntlworld dot com
RecursiveDirectoryIterator doesnt appear to recurse into subdirectories.

Reproduce code:

...php5\ext\spl\examples>php nocvsdir.php ../../..

Expected result:
List of all files and directories in the php5 cvs tree, but excluding any named 'CVS'

Actual result:
Just a list of files directly below the specified directory.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-27 12:37 UTC] Jared dot Williams1 at ntlworld dot com
Fixed summary.
 [2005-11-27 13:28 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

The example was simply copied from head to 5.1. There it is missing some updates i have only on my machine which are scheduled for 5.1.2. The problem is however fixed in CVS now and it is only in the php script. It has nothing to do with the topic directly. Indeed it is missing a simply missing a 'conversion' in the NoCvsDirectory class
that is done automatically in HEAD.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Sep 28 21:05:52 2022 UTC