Re: [PATCH] unix path separators in spl

From: Date: Thu, 19 Jun 2008 18:58:04 +0000
Subject: Re: [PATCH] unix path separators in spl
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-38428@lists.php.net to get a copy of this message
Hi!
Windows even if my application was written in most generic way. Do I miss something?
Doesn't PATH_SEPARATOR use DEFAULT_SLASH?
Should be DIRECTORY_SEPARATOR and it's "\" on windows (PATH_SEPARATOR is ";" ). Do you propose to change it to "/"?
Path comparison is important.
I thought so too until I couldn't find any broken tests.
With all due respect to phpt, these are very primitive code samples testing very narrow functional areas. They do not come anywhere near the stuff people do in real-life apps, combining different functions and extensions. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#38428) next »