Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38424 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57836 invoked from network); 19 Jun 2008 18:42:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2008 18:42:23 -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:27288] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/00-57468-D88AA584 for ; Thu, 19 Jun 2008 14:42:23 -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:42:28 +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:39:19 -0700 Message-ID: <485AA7CB.5040503@zend.com> Date: Thu, 19 Jun 2008 11:39:07 -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> In-Reply-To: <05db01c8d23b$7fe3fb50$4401a8c0@foxbox> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2008 18:39:19.0545 (UTC) FILETIME=[C8E58E90:01C8D23B] Subject: Re: [PHP-DEV] [PATCH] unix path separators in spl From: stas@zend.com (Stanislav Malyshev) 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