php.net |  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:
 [2007-12-20 18:58 UTC] fangel at sevengoslings dot net
Description:
------------
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..

[1] http://www.php.net/~helly/php/ext/spl/classFindFile.html




Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
n/a

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-02 19:20 UTC] iliaa@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 18:02:13 2014 UTC