Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38428 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68235 invoked from network); 19 Jun 2008 18:58:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2008 18:58:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:28959] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/32-57468-C6CAA584 for ; Thu, 19 Jun 2008 14:58:53 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Jun 2008 21:59:00 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Jun 2008 11:58:16 -0700 Message-ID: <485AAC3C.3080602@zend.com> Date: Thu, 19 Jun 2008 11:58:04 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Steph Fox CC: internals References: <04a501c8d181$e67c6ec0$4401a8c0@foxbox> <485A9AC3.3050603@zend.com> <05db01c8d23b$7fe3fb50$4401a8c0@foxbox> <485AA7CB.5040503@zend.com> <060801c8d23d$e3823b20$4401a8c0@foxbox> In-Reply-To: <060801c8d23d$e3823b20$4401a8c0@foxbox> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2008 18:58:16.0130 (UTC) FILETIME=[6E5AAA20:01C8D23E] Subject: Re: [PHP-DEV] [PATCH] unix path separators in spl From: stas@zend.com (Stanislav Malyshev) 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