Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60232 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91855 invoked from network); 20 Apr 2012 13:21:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2012 13:21:29 -0000 Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:62039] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/44-63732-7D2619F4 for ; Fri, 20 Apr 2012 09:21:28 -0400 Received: by yhfq11 with SMTP id q11so5757505yhf.29 for ; Fri, 20 Apr 2012 06:21:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=jvnNYf8hzYxYcMLZpFvu07asOeUP7w0d3dE3yknD9og=; b=PLX23nBx2ExucI27WQJypqiNS/17yY/el306y8TaVXAgTiZ3e0PumNB5SYoB4e9EN0 akq4KrMB7FYYhqcxWkcXS2HUp/zyhvVGw134pWWcvgCqnpdPTqcDDg6QxiB/FSy6nP7C Z5vVDULeeBxLqBYIpCVRq+4r6fTjUAv3g9/IgHI7xcgKD01yqLDr1qJ4cdSWlpt6iypK +P+YiDh16SsqZfvzvge96I3sxDoZU3zzvRQOJ6gSrSziPxAd3aodRGRJ8inl0iYWm7e1 8LJy205m6ap7aL3Vy7BMWkhFnZrGpldGqNa0QKpbJqP27Ufte1/QdsvepylPbqqmJpja goTA== MIME-Version: 1.0 Received: by 10.236.181.5 with SMTP id k5mr5937193yhm.61.1334928084631; Fri, 20 Apr 2012 06:21:24 -0700 (PDT) Received: by 10.101.57.14 with HTTP; Fri, 20 Apr 2012 06:21:24 -0700 (PDT) In-Reply-To: <30.B3.63732.E01619F4@pb1.pair.com> References: <30.B3.63732.E01619F4@pb1.pair.com> Date: Fri, 20 Apr 2012 09:21:24 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQliyLF06cV2m0TeBCsDq34vLnT4J0viwqh+dKzKLLN3ubZqUBMkQWWs/gEClJJf8FavHsta Subject: Re: [PHP-DEV] Re: Complete case-sensitivity in PHP From: tom@punkave.com (Tom Boutell) Yup - a one time transition would be preferable to that. On Fri, Apr 20, 2012 at 9:13 AM, Matthew Weier O'Phinney wrote: > On 2012-04-20, "C.Koy" wrote: >> This post is about bug #18556 (https://bugs.php.net/bug.php?id=3D18556) >> which is a decade old. >> >> As the recent comments on that page indicate, there's not a >> deterministic way to resolve this issue, apart from eliminating >> tolower() calls for function/class names during lookup. Hence totally >> case-sensitive PHP. >> >> Before opposing with "No, this will break a lot of existing code!", >> note that I'm not suggesting a static permanent change in the engine; >> rather a runtime option that will need to be enabled (cli option, INI >> setting), without which PHP will work as before. >> >> Since I'm not well versed in the workings of Zend engine, I solicit >> the wisdom/experience of people in this list: Is this doable in a >> practical way, without making grand changes in Zend? > > It's not just about changes to the engine. If you introduce a runtime > option that switches behavior, you then get a portability problem -- > code runs fine in one context, but not the other. > > -- > Matthew Weier O'Phinney > Project Lead =A0 =A0 =A0 =A0 =A0 =A0| matthew@zend.com > Zend Framework =A0 =A0 =A0 =A0 =A0| http://framework.zend.com/ > PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com