Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98679 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50080 invoked from network); 30 Mar 2017 14:05:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2017 14:05:11 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.181 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.128.181 mail-wr0-f181.google.com Received: from [209.85.128.181] ([209.85.128.181:36853] helo=mail-wr0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/67-10047-4901DD85 for ; Thu, 30 Mar 2017 09:05:10 -0500 Received: by mail-wr0-f181.google.com with SMTP id w11so61180974wrc.3 for ; Thu, 30 Mar 2017 07:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:from:message-id; bh=yO47jF0BLdpjU0xdqRIoITxcpncJo9hf/ca1pilMBnE=; b=LwIxJ6htVE+NE2ZPjSFZFQNmZhLqkZOeSgOe3SqB78QlMW4hyqPenygkZOSle6pWAY 8CIz5kHrqW4BwzhtQpcWVQ5Gowg0CvZC8rbWrP9Rveje7usCdxYGIKxISvwZLYn7yxyA GauQFsZ2YJks1zxwBRJAthJ18Ieq+A01ZgJxu5eXmgUy3/Zx49Q46wOzFbi7xQISemGo RDbwCzSqNIzIwloP/9iyMHLcnadmJtNWxZWzVWRqBRYWE/wX9KMOqeiXTaxhfS8FukPA WxhB8a0O+SnpXnZcDDuBKETul4mDQxqCgTdRTEUKnOxmgQwPji0Kzgfodyp9kAarf6Fx TJzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:from:message-id; bh=yO47jF0BLdpjU0xdqRIoITxcpncJo9hf/ca1pilMBnE=; b=F457riGg/bMGvd/Fua4nUp1+xmyUKlczCH6lynJhzJjX3WrvoZwu4LBqpH0PmHpRoY O87niSNJVwpFZnwJxP2KBQM95gRlScnH7QaoS4bMYXcBtNk3AOpA/5SZo+I37csv5eMt p3KOg8F99/gMytgHk+J8SiPAqDuFMAJdxRIrExHH17y+4bJKTrD7NffuiDCmChvAjzMO c0eS/19pVSgDT/exWcOetnHqmLjLTuOxnewRy7NlfFAwWrRuj8+xUzCrbZo0DnHF2Ske EA2k46GdvFzNRsA23XlxYDm2fv2EZmhTtTzlrK1ZrEqVzRZzPgJZfLbleQHbwCqfDDyf A+VA== X-Gm-Message-State: AFeK/H3udIZLroXkbPTF/hLuxrNhefkqjJMLXguKu7jQSV6aGyKOGXsQDhcrMwxDrNrsLg== X-Received: by 10.223.151.140 with SMTP id s12mr6161499wrb.58.1490882705040; Thu, 30 Mar 2017 07:05:05 -0700 (PDT) Received: from [10.177.173.51] (92.40.249.104.threembb.co.uk. [92.40.249.104]) by smtp.gmail.com with ESMTPSA id s82sm2214111wmb.3.2017.03.30.07.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 07:05:03 -0700 (PDT) Date: Thu, 30 Mar 2017 15:05:01 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: internals@lists.php.net,Rasmus Schultz ,PHP internals Message-ID: <59B9EB30-72FB-4953-B532-8B15E574DA59@gmail.com> Subject: Re: [PHP-DEV] Directory separators on Windows From: rowan.collins@gmail.com (Rowan Collins) On 30 March 2017 14:25:02 BST, Rasmus Schultz wrote: >Returning backslashes on Windows seems rather unnecessary in the first >place, since forward slashes work just fine? This may be true when using the paths within PHP, but is it true outside o= f it? If your JSON file had been read in by a =2Enet application, or used t= o generate a DOS/NT batch file, wouldn't forward slashes there have been ju= st as broken as backslashes on a Linux box? Sadly, I fear this is like trying to automate line ending conversion - the= more you try to avoid being platform-specific, the more awkward cases you = introduce=2E Regards, --=20 Rowan Collins [IMSoP]