#32362 [NEW]: Some functions to manipulate include_path (or any path list in general)

From: Date: Fri, 18 Mar 2005 13:50:33 +0000
Subject: #32362 [NEW]: Some functions to manipulate include_path (or any path list in general)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75466@lists.php.net to get a copy of this message
From: ceefour at gauldong dot net Operating system: All PHP version: 5.0.3 PHP Bug Type: Feature/Change Request Bug description: Some functions to manipulate include_path (or any path list in general) Description: ------------ include_path *is* complex. How do you add something to include path without detecting the operating system first? How do you remove something from the include path? It would be great if PHP has an API that allows manipulation of include paths as array. include_path is so tied to the operating system platform and many libraries have tried to autodetect the platform and map it to a path separator (usually ';' for Windows and ':' for non-Windows, but you can easily see that even my statement is wrong, as is not always the case). How to separate paths in Mac? It uses ':' as the path element separator, so? (I don't know the answer). Adding a constant for path separator ('/', '\', ...) and path list separator (';', ':', ...) would partly solve the problem. It'll be even better if there are some functions to manipulate them. Of course not tied to include_path, but general functions to manipulate any path list, since they're very often used, like for manipulating the PATH environment variable, and other stuff. -- Edit bug report at http://bugs.php.net/?id=32362&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32362&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32362&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32362&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32362&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32362&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32362&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32362&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32362&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32362&r=support Expected behavior: http://bugs.php.net/fix.php?id=32362&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32362&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32362&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32362&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32362&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32362&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32362&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32362&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32362&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32362&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32362&r=mysqlcfg

« previous php.bugs (#75466) next »