#43647 [Opn->Csd]: RFC: FindFile should use PATH_SEPARATOR instead of ";" to split $path
| From: | iliaa@php.net | Date: | Wed, 02 Jan 2008 19:20:23 +0000 |
| Subject: | #43647 [Opn->Csd]: RFC: FindFile should use PATH_SEPARATOR instead of ";" to split $path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120992@lists.php.net to get a copy of this message | ||
ID: 43647
Updated by: iliaa@php.net
Reported By: fangel at sevengoslings dot net
-Status: Open
+Status: Closed
Bug Type: SPL related
Operating System: All
PHP Version: 5.2.5
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-12-20 18:58:44] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43647&edit=1