Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71737 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56389 invoked from network); 29 Jan 2014 17:28:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2014 17:28:58 -0000 Authentication-Results: pb1.pair.com header.from=kristopherwilson@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kristopherwilson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.179 as permitted sender) X-PHP-List-Original-Sender: kristopherwilson@gmail.com X-Host-Fingerprint: 209.85.223.179 mail-ie0-f179.google.com Received: from [209.85.223.179] ([209.85.223.179:55282] helo=mail-ie0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id ED/20-52228-95A39E25 for ; Wed, 29 Jan 2014 12:28:58 -0500 Received: by mail-ie0-f179.google.com with SMTP id ar20so2371330iec.10 for ; Wed, 29 Jan 2014 09:28:54 -0800 (PST) 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=IqumJj7JSWgjljUCFBsEsMMkz/88p/UpTPzgvX3dCGc=; b=SB+rjpGHJgZ/b8oGgznu1x0yj3lq71/TnQWN2nnUI8HGB2cVio1QFe90aBC4DyzonF Q5vVfHrg3tmwberYdL3zLfzL1BJ46diYo9A5HvJ7p2p+81NMjzfYGyJfNS4uc9chfPVr ICS5c4HbQCRXlnskULICBttGVuYcw3X7+9dDG6YZPsTnKkFhcCCQP5uCkt+hf2WE5Whl BMXO1ckl7nPfALxmzjrOS+cA1aH0opfcVZAlcXZwF8St3mPe08r8qw52FW4KW/WdKnQ5 vAajAGTLR4vGan8ydMQNgB78Mynd0l7jjTUILHgiCMxNOjCa+/SQcKRTXcZ1mjgzeGNx 8FSg== MIME-Version: 1.0 X-Received: by 10.50.87.201 with SMTP id ba9mr9599099igb.21.1391016534837; Wed, 29 Jan 2014 09:28:54 -0800 (PST) Received: by 10.43.113.68 with HTTP; Wed, 29 Jan 2014 09:28:54 -0800 (PST) In-Reply-To: <52E926DE.1060508@hristov.com> References: <52E7FCFB.7040108@hristov.com> <52E926DE.1060508@hristov.com> Date: Wed, 29 Jan 2014 12:28:54 -0500 Message-ID: To: Andrey Hristov Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=e89a8f3ba17d6f936a04f11f463b Subject: Re: [PHP-DEV] some thoughts about php 6 From: kristopherwilson@gmail.com (Kristopher) --e89a8f3ba17d6f936a04f11f463b Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jan 29, 2014 at 11:05 AM, Andrey Hristov wrote: > > not the language is silly, the developers are. Why C doesn't forbid out of > range accesses on arrays. Is the language silly? > > Yes, I do think PHP is being silly. Again, treating "T" and "t" like they're the same thing? They're not. One is an upper case T, one is a lowercase t. They look different. They are different ascii and unicode character codes. Languages that conform to this: Python, Ruby, C and Java. Why does PHP feel the need to try to translate this developer typo? Is this a beneficial "feature" of PHP? I don't think so. As I've harped on, it definitely creates issues with autoloading across different platforms when namespace or class names are cased improperly. It's a big backwards comparability break, but one that's very easily fixed with a third party tool that analyzes the code base for violations during an upgrade phase. I'd love to see it fixed in the next major PHP release. It is silly. I'm sticking by that. --e89a8f3ba17d6f936a04f11f463b--