#43647 [NEW]: RFC: FindFile should use PATH_SEPARATOR instead of ";" to split $path
| From: | fangel at sevengoslings dot net | Date: | Thu, 20 Dec 2007 18:58:44 +0000 |
| Subject: | #43647 [NEW]: RFC: FindFile should use PATH_SEPARATOR instead of ";" to split $path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-120788@lists.php.net to get a copy of this message | ||
From: fangel at sevengoslings dot net
Operating system: All
PHP version: 5.2.5
PHP Bug Type: SPL related
Bug description: RFC: FindFile should use PATH_SEPARATOR instead of ";" to split $path
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 bug report at http://bugs.php.net/?id=43647&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43647&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43647&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43647&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43647&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43647&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43647&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43647&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43647&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43647&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43647&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43647&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43647&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43647&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43647&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43647&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43647&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43647&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43647&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43647&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43647&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43647&r=mysqlcfg