Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79874 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2314 invoked from network); 23 Dec 2014 01:03:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2014 01:03:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.174 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.223.174 mail-ie0-f174.google.com Received: from [209.85.223.174] ([209.85.223.174:44960] helo=mail-ie0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/31-28901-87FB8945 for ; Mon, 22 Dec 2014 20:03:53 -0500 Received: by mail-ie0-f174.google.com with SMTP id at20so5114678iec.5 for ; Mon, 22 Dec 2014 17:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=z6aC14JA/sCAOCsDa1eJLJ4vsBbFIBhm7XLNLxBsT34=; b=X3/HX1qFiXMj4+EJK963Wm1dSBkNu4g84JHAWAkgy+vgypLY7nugLA0zuuMQx9o7lF R/fARffGnBFFSTBFn2o0m0NweQPIbzK+JsRgRfqhaWRODOnGtvvO7oUMFMfSzjeybNwv GYP9xrDwLxiCzfAggwKVpC4A/gAprQIe46+v5uO4sidtPGyo7CZOBj8Q1vB/SwikJKUe iRP22BGAoN/UJ3+8glaTYUQAvvd53Bqk/1WsgLHYwUiWQsD/tVr+hOCZL5hOU9MXiJ9R FsLpTZr3ur9ufO3PW4lCZjd60GxGe6mrWQ19L06C+Xo55X+dFY2i8/eZZj8kO7+/w7Wj bivw== X-Received: by 10.107.46.28 with SMTP id i28mr23330610ioo.73.1419296630030; Mon, 22 Dec 2014 17:03:50 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.107.164.217 with HTTP; Mon, 22 Dec 2014 17:03:09 -0800 (PST) In-Reply-To: References: <000c01d01ca0$7e70c850$7b5258f0$@yahoo.fr> Date: Tue, 23 Dec 2014 10:03:09 +0900 X-Google-Sender-Auth: tzGAuy2bs4zDeSnHu86C9U7lpuY Message-ID: To: David Muir Cc: Kevin Israel , Paul Dragoonis , "nf.laupretre@yahoo.fr" , PHP Internals List Content-Type: multipart/alternative; boundary=001a11352f7276c881050ad7bf4b Subject: Re: [PHP-DEV] Proposal for PHP 7 : case-sensitive symbols From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11352f7276c881050ad7bf4b Content-Type: text/plain; charset=UTF-8 Hi all, On Mon, Dec 22, 2014 at 8:33 AM, David Muir wrote: > +1 on E_STRICT warning for case mismatch on class names. Also +1 on > eventual case sensitivity for userland class names. Not convinced the rest > is worth it. > > The insensitivity makes code brittle. Sometimes the same code will run > fine, and other times it breaks depending on what lines triggered the auto > loader. If you instantiate a Foo instance first, then instantiate a new > foo, the code runs fine, but if you try to instantiate a new foo first, we > get a fatal error. > It seems the most reasonable approach for this issue. +1 Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11352f7276c881050ad7bf4b--