Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87652 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 888 invoked from network); 5 Aug 2015 17:03:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Aug 2015 17:03:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:35171] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/41-11835-AC142C55 for ; Wed, 05 Aug 2015 13:03:06 -0400 Received: by labkb6 with SMTP id kb6so11123858lab.2 for ; Wed, 05 Aug 2015 10:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1lPOYejaax3VJ0oYAI8zbQQjyPoo3fTeyOIhBfJNflw=; b=056QxzeBma3jzDuzXWXdOQGaej8pZAGvO8dUdTYfyUfdMYoTcSssYFhsEGJLN7qgHX lSuDWKb+BLZXHP8V5UVcW95Zn8o4JBYnb3ANH+fsWLPGyQzfAm0man8I0AAEZHGN+PIr t/478Y9Q3ynq4zbHu9CRdbybw5o2jk+xEW0tc/xBtHw/GCPDHKiOFY+bosNU0AjmoPWC ile+oRP0Bf+8PXB5Rr7K61nY4yEijZhnZtXJL1Nsq5x7bJMdTA4h/8SiPxry2Tkbxlhr z4oP3SlAmCjDHm2u/Qjdiudvuqf0owrnAb6jilzTAm33pNeG2rsRtoy24yIN5pPT387O P3yg== MIME-Version: 1.0 X-Received: by 10.112.147.8 with SMTP id tg8mr10187564lbb.62.1438794183480; Wed, 05 Aug 2015 10:03:03 -0700 (PDT) Received: by 10.112.33.7 with HTTP; Wed, 5 Aug 2015 10:03:01 -0700 (PDT) Received: by 10.112.33.7 with HTTP; Wed, 5 Aug 2015 10:03:01 -0700 (PDT) In-Reply-To: References: Date: Thu, 6 Aug 2015 00:03:01 +0700 Message-ID: To: Nicolas Grekas Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b3a85ca361d97051c93602d Subject: Re: [PHP-DEV] realpath() on MacOSX doesn't normalize the case of characters From: pierre.php@gmail.com (Pierre Joye) --047d7b3a85ca361d97051c93602d Content-Type: text/plain; charset=UTF-8 On Aug 5, 2015 10:30 PM, "Nicolas Grekas" wrote: >> >> For windows, there is no path normalization either btw. It would makes realpath more expensive. > > > I don't know what you mean by "no path normalization", but as far as the case is concerned, there IS normalization: > var_dump(realpath(strtolower(__FILE__))); > var_dump(realpath(strtoupper(__FILE__))); > > displays two times exactly the same string on Windows > I should had said there is not always normalization. I cannot remember examples but similar functions (as per your bug report) do not normalize path. --047d7b3a85ca361d97051c93602d--