ID: 43691 Updated by: [EMAIL PROTECTED] Reported By: karol at babioch dot de -Status: Open +Status: Bogus Bug Type: Directory function related Operating System: Windows XP Professional PHP Version: 5.2.5 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2007-12-27 19:17:40] karol at babioch dot de Description: ------------ 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: --------------- <?php error_reporting(E_ALL|E_STRICT); set_include_path('./../'); $dir = new DirectoryIterator('test2'); ?> Expected result: ---------------- A new dir iterator from './../test2' should be created! Actual result: -------------- PHP (DirectoryIterator) throws an Exception. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43691&edit=1