Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10582 invoked from network); 6 Nov 2008 17:51:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2008 17:51:10 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:41013] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/1E-44653-D8E23194 for ; Thu, 06 Nov 2008 12:51:10 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id A622F4144058; Thu, 6 Nov 2008 17:52:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mQ6Afu5U3e30; Thu, 6 Nov 2008 18:52:03 +0100 (CET) Received: from [192.168.0.151] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 001534144009; Thu, 6 Nov 2008 18:52:02 +0100 (CET) To: "Stan Vassilev | FM" In-Reply-To: X-Priority: 3 References: Message-ID: <8FBBAB3F-D20A-4FA1-9D17-869DABB88721@pooteeweet.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 6 Nov 2008 18:49:54 +0100 Cc: X-Mailer: Apple Mail (2.929.2) Subject: Re: [PHP-DEV] Case sensitivity From: mls@pooteeweet.org (Lukas Kahwe Smith) On 06.11.2008, at 18:46, Stan Vassilev | FM wrote: > NOTE: Continuing from thread "Call it: allow reserved words in a > class or not?": > >> As much as I'd love to see more case-sensitivity, I'm afraid it would >> break quite a lot of existing apps, according to Google Code. >> >> http://www.google.com/codesearch?q=lang%3Aphp+%3D%5Cs%2AArray >> >> -JD > > It's worse than I thought, really out of the question for 5.x. > > Though I still think it's something we should consider for 6.0 as > it's something we need to fix in the long term (and 6.0 already has > breaks, such as strings used in binary operations need to be changed > to binary strings). > > I can provide a short PHP script which can automatically fix the > case of internal classes and keywords like array() in most source > code out there. > > We can test such automated porting scripts on samples collected from > PEAR, Google Code and projects like Drupal, Joomla etc. to reduce > side effects. NO! regards, Lukas Kahwe Smith mls@pooteeweet.org