Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71761 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4586 invoked from network); 29 Jan 2014 22:57:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2014 22:57:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wg0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:35236] helo=mail-wg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/29-52228-F6789E25 for ; Wed, 29 Jan 2014 17:57:51 -0500 Received: by mail-wg0-f47.google.com with SMTP id m15so4934990wgh.14 for ; Wed, 29 Jan 2014 14:57:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=+eEgObo2wxnmRXK8YuRsSRCOiPXZb/fvuXIPKnywLqA=; b=oFmCybo/YcJv3HgdcU86va5AQ70hRE92xG50dCZbGeYwUud94YbBerCq/Dy4veCnUG m0CMPnVEPcIS5RsYbl0d5jP6pieXfXt5cH+YOdZAMCo/jzLYjl9osBvJFriUL2GeP/RI f3SFcEzqrV+JMhJsGj3s0XTdGJ9F7ZaK7ukK42I/v0alsg0RgR+F3SY3xVMdaIMqGr2/ D76jXCXhZHrudi7lvVDGX5ACu/p4JEVMPK+nFptkc71LXV4c+LnJ2I3JwvW3V2whBg5r lCUpVIW8zyqSM7XJZfTgk2wRmDUZ2EsF3aw853z7alA1MHPU+N5hUj8cGCp+CGq9rmVH K2UQ== X-Received: by 10.180.81.38 with SMTP id w6mr7248317wix.27.1391036268320; Wed, 29 Jan 2014 14:57:48 -0800 (PST) Received: from [192.168.0.2] (cpc19-brig17-2-0-cust25.3-3.cable.virginm.net. [81.101.201.26]) by mx.google.com with ESMTPSA id bm8sm7990284wjc.12.2014.01.29.14.57.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 14:57:47 -0800 (PST) Message-ID: <52E98765.40908@gmail.com> Date: Wed, 29 Jan 2014 22:57:41 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] some thoughts about php 6 From: rowan.collins@gmail.com (Rowan Collins) On 28/01/2014 16:34, Kristopher wrote: > Really? I'd definitely love to see it for class and function names. Have > you ever tried to deploy or develop an application with a team on different > operating systems, and had the entire code puke because someone > accidentally did casing wrong on a class name and the autoloader barfed > trying to load the file on a case-sensitive operating system? Why not just make your filenames all lowercase and use strtolower() in the autoloader? Seems like "someclassname.php" wouldn't be such an awful filename for "class SomeClassName" if you can't rely on consistency of case handling in the OS. While I can kind of see the point, the case-sensitive check would still presumably be made at run-time, so you'd still need to ensure you had case coverage in case someone wrote CLassName in a branch of code they didn't actually execute. -- Rowan Collins [IMSoP]