Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54626 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22428 invoked from network); 15 Aug 2011 09:52:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2011 09:52:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@googlemail.com X-Host-Fingerprint: 209.85.215.42 mail-ew0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:38440] helo=mail-ew0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/15-31518-C5CE84E4 for ; Mon, 15 Aug 2011 05:52:29 -0400 Received: by ewy2 with SMTP id 2so1821047ewy.29 for ; Mon, 15 Aug 2011 02:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UTh16gw2DcSrXxrJkazE0X4h8DE7GtiirMitsc1Iirk=; b=ELQlfrwLrvlO/jdyF7ygATcw1zaKQpq/PKn6S0GsqBZPKFlB8yv4enzt2IxJyjDWuQ GZB3y3gr2QEZ99K8eY4H6oW84O6HpV1kVRYsh1NSdJPcc7DpN1Jm5TyRhTZkyFdYdOg8 Kf7vMxVW3smYBiMSAh5R52PS27tQPsfD0pCbg= MIME-Version: 1.0 Received: by 10.14.146.15 with SMTP id q15mr794885eej.172.1313401945839; Mon, 15 Aug 2011 02:52:25 -0700 (PDT) Received: by 10.14.95.3 with HTTP; Mon, 15 Aug 2011 02:52:25 -0700 (PDT) In-Reply-To: <4E48D6E7.2000203@lsces.co.uk> 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> Date: Mon, 15 Aug 2011 11:52:25 +0200 Message-ID: To: Lester Caine Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE]strn(case)cmp supporting a negative length as its third paramter From: nikita.ppv@googlemail.com (Nikita Popov) On Mon, Aug 15, 2011 at 10:20 AM, Lester Caine wrote: > Perhaps it should be linked in the SeeAlso from strncmp and the rest? I added substr_compare to the See Also sections of strcmp, strcasecmp, strncmp and strncasecmp. Apart from that: Now that we know that a function for doing such comparisons exists, a change to strncmp doesn't make much sense anymore. Only useless BC break.