Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54407 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94247 invoked from network); 5 Aug 2011 16:22:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Aug 2011 16:22:17 -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.212.42 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:39160] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/21-21514-7B81C3E4 for ; Fri, 05 Aug 2011 12:22:15 -0400 Received: by vwl1 with SMTP id 1so2235116vwl.29 for ; Fri, 05 Aug 2011 09:22:12 -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=y09YTuzZVgsqgN90xT8pyhqdlSvMxmWJsokvmnk5Nfo=; b=vcl4g/9RLpy1Gh5E9MD0EB7rAhjbK+3Q/p7MXUczO8VHOJUbAM6G7QwHsiAk0/G4fi V3dc04dsdz8pQj6OA+K78XFXAsigF/sLnIJNyhqs+NrJ4DLFLGzBMJiHPEIzIPbIXeuZ n8fCxu0CeSLOVwFPvs5waxDjWWdAuBc82fIgw= MIME-Version: 1.0 Received: by 10.52.179.40 with SMTP id dd8mr2475678vdc.208.1312561332850; Fri, 05 Aug 2011 09:22:12 -0700 (PDT) Sender: laruence@gmail.com Received: by 10.220.149.20 with HTTP; Fri, 5 Aug 2011 09:22:12 -0700 (PDT) In-Reply-To: References: Date: Sat, 6 Aug 2011 00:22:12 +0800 X-Google-Sender-Auth: 0E2yKS4Tb1SlH6WM3nFixibdJOc Message-ID: To: Jan Dolecek Cc: 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: I am not good at english, so I could not explain the idea very clearly but I really think it was a good idea,, could someone plz make a decision that make this patch applied to svn trun= k? thanks 2011/8/2 Jan Dolecek : > This would make perfect sense with constant strings and constant > length, when using variables this may lead to some magic bugs, which > would be normally reported as E_WARNING. Not sure if it's a good idea > :( > > Jan Dolecek > juzna.cz@gmail.com > > > > On Mon, Aug 1, 2011 at 7:40 AM, Laruence wrote: >> Hi everyone: >> >> =C2=A0 plz vote for this : "strn(case)cmp supporting a negative length a= s >> its third paramter" >> >> =C2=A0 RFC: https://wiki.php.net/rfc/strncmpnegativelen#vote >> >> =C2=A0 if you have any objection, plz write back. >> >> thanks >> >> -- >> Laruence =C2=A0Xinchen Hui >> http://www.laruence.com/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/