|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43647 RFC: FindFile should use PATH_SEPARATOR instead of ";" to split $path
Submitted: 2007-12-20 18:58 UTC Modified: 2008-01-02 19:20 UTC
From: fangel at sevengoslings dot net Assigned:
Status: Closed Package: SPL related
PHP Version: 5.2.5 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: fangel at sevengoslings dot net
New email:
PHP Version: OS:


 [2007-12-20 18:58 UTC] fangel at sevengoslings dot net
If you look at the documentation for SPL's FindFile [1] the input $path, 
which can be separator by ";". 
Wouldn't it make more sense if this was set to PATH_SEPARATOR? (PS)

If it was set to PS, one could search for files in the include-path just 
by supplying get_include_path() as a parameter..
And that makes sense to me.. 

Well - just want to know if it's deliberate, or if it's possible to even 
get a change like this considered..


Reproduce code:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-02 19:20 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.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 09:03:37 2021 UTC