|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-28 23:53 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
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.