Re: [PATCH] unix path separators in spl
| From: | Stanislav Malyshev | Date: | Thu, 19 Jun 2008 17:43:31 +0000 |
| Subject: | Re: [PATCH] unix path separators in spl | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38420@lists.php.net to get a copy of this message | ||
Hi!
The attached patch implements spl_unixify_path_separators(). If it'sI'm afraid that automatically applying slash conversions to all results returned by SPL file functions - if that's what this patch does - may be unwanted. This way SPL functions and regular file functions would return different file names, which can be harmful if these names are used as keys, compared, etc. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com