Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54624 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17887 invoked from network); 15 Aug 2011 09:26:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2011 09:26:41 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:45813] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/93-31518-056E84E4 for ; Mon, 15 Aug 2011 05:26:40 -0400 Received: by vxh24 with SMTP id 24so4120595vxh.29 for ; Mon, 15 Aug 2011 02:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4MY+QlI5HaoDrSbeTli6I5ahtM1z0JcyjDghJrxEJsM=; b=EvP+vGjqVJrX714SH7vKlwukJC3UcJx4UkK/k/i1d2DdfNPWdQp5djSxdvKKgowA/5 6Sq71YvCLXLCaHdULxFr1vAU25/gea0SjHEUWw/88EuvYAIZboxLRFaYRZu4BCEQVFHE ymXWH54xmslMBt9VLiTDOuPKylneYEYhmGGmY= MIME-Version: 1.0 Received: by 10.220.149.136 with SMTP id t8mr297934vcv.260.1313400398150; Mon, 15 Aug 2011 02:26:38 -0700 (PDT) Sender: laruence@gmail.com Received: by 10.220.184.76 with HTTP; Mon, 15 Aug 2011 02:26:38 -0700 (PDT) In-Reply-To: <4E48E155.9090601@lerdorf.com> References: <4E48121A.3090007@sugarcrm.com> <4E48134E.4030708@sugarcrm.com> <4E481695.6040900@php.net> <4E483804.7070009@sugarcrm.com> <4E484037.2080107@php.net> <4E4843B0.70605@php.net> <4E48D6E7.2000203@lsces.co.uk> <4E48E155.9090601@lerdorf.com> Date: Mon, 15 Aug 2011 17:26:38 +0800 X-Google-Sender-Auth: bpSmFN3EQ0OippNkf75etE04zKE Message-ID: To: Rasmus Lerdorf Cc: Lester Caine , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE]strn(case)cmp supporting a negative length as its third paramter From: laruence@php.net (Laruence) Hi Rasmus: could we well docuemnt this(changelog) to avoding such bad thing happen? and sure, I agree and know what you are worried, also I am very respect you . so here is the thing, if I can't get your support, I think I should darw back the proposal. thanks 2011/8/15 Rasmus Lerdorf : > On 08/15/2011 01:51 AM, Laruence wrote: >> Hi Lester: >> =C2=A0 =C2=A0I totally agree with you about bc break things, >> >> =C2=A0 =C2=A0but actully I don't think this proposal will bring a big bc= break, >> it's a new approach , but not a big change, >> >> =C2=A0 =C2=A0I am meaning that the old codes can work fine because rarel= y codes >> depends on a negative length. >> >> =C2=A0 =C2=A0do you agree? > > I agree that this is not a "big" BC break. However, my argument is that > small BC breaks like this are actually much worse than "big" BC breaks. > A big and obvious BC break is usually easy to deal with. An accumulation > of small subtle BC breaks that rarely hit you and then only on certain > input strings, those are the ones that kill you. > > -Rasmus > --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/