Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41731 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8971 invoked from network); 6 Nov 2008 17:46:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2008 17:46:35 -0000 Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 69.16.228.148 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 69.16.228.148 unknown Linux 2.4/2.6 Received: from [69.16.228.148] ([69.16.228.148:49778] helo=host.fmethod.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/CD-44653-B7D23194 for ; Thu, 06 Nov 2008 12:46:35 -0500 Received: from [83.228.56.37] (port=4973 helo=pc) by host.fmethod.com with esmtpa (Exim 4.69) (envelope-from ) id 1Ky8wC-0004H5-Bz for internals@lists.php.net; Thu, 06 Nov 2008 11:46:32 -0600 Message-ID: To: Date: Thu, 6 Nov 2008 19:46:24 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A3_01C94048.59F71DC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.fmethod.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fmethod.com Subject: Case sensitivity From: sv_forums@fmethod.com ("Stan Vassilev | FM") ------=_NextPart_000_00A3_01C94048.59F71DC0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable 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. >=20 > http://www.google.com/codesearch?q=3Dlang%3Aphp+%3D%5Cs%2AArray >=20 > -JD It's worse than I thought, really out of the question for 5.x.=20 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).=20 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. Regards, Stan Vassilev ------=_NextPart_000_00A3_01C94048.59F71DC0--