|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43691 DirectoryIterator does not work with include_path
Submitted: 2007-12-27 19:17 UTC Modified: 2008-01-28 23:53 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: karol at babioch dot de Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 5.2.5 OS: Windows XP Professional
Private report: No CVE-ID: None
 [2007-12-27 19:17 UTC] karol at babioch dot de
In my opinion DirectoryIterator should work with include_path, but it doesn't. I couldn't find any information about this in the documentation, so maybe I'm wrong.

Reproduce code:



$dir = new DirectoryIterator('test2');


Expected result:
A new dir iterator from './../test2' should be created!

Actual result:
PHP (DirectoryIterator) throws an Exception.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-28 23:53 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 02:01:30 2024 UTC