#43691 [Opn->Bgs]: DirectoryIterator does not work with include_path
| From: | tony2001@php.net | Date: | Mon, 28 Jan 2008 23:53:35 +0000 |
| Subject: | #43691 [Opn->Bgs]: DirectoryIterator does not work with include_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121658@lists.php.net to get a copy of this message | ||
ID: 43691
Updated by: tony2001@php.net
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