Re: [PATCH] unix path separators in spl

From: Date: Thu, 19 Jun 2008 18:54:21 +0000
Subject: Re: [PATCH] unix path separators in spl
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-38425@lists.php.net to get a copy of this message
Any amount, but I don't see why it would break only windows-specific code. If I use any other function to get filenames, and/or use PATH_SEPARATOR to compose names, and then use these names in the same context as those converting SPL function, I'd get different names on Windows even if my application was written in most generic way. Do I miss something?
Doesn't PATH_SEPARATOR use DEFAULT_SLASH?
'\', these days it's capable of recognising either separator. So it really would just be down to path comparisons.
Path comparison is important.
I thought so too until I couldn't find any broken tests. - Steph
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com


« previous php.internals (#38425) next »