Re: [PATCH] unix path separators in spl

From: Date: Thu, 19 Jun 2008 18:39:07 +0000
Subject: Re: [PATCH] unix path separators in spl
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-38424@lists.php.net to get a copy of this message
Hi!
On the other hand, the only code likely to be broken would be platform-specific code written for Windows boxes - how much of that is likely to be out there? Another point is that, although Windows *writes*
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?
'\', these days it's capable of recognising either separator. So it really would just be down to path comparisons.
Path comparison is important. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#38424) next »