Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59505 invoked from network); 2 Aug 2011 15:41:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2011 15:41:45 -0000 Authentication-Results: pb1.pair.com header.from=juzna.cz@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=juzna.cz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: juzna.cz@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:49635] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/30-57464-7BA183E4 for ; Tue, 02 Aug 2011 11:41:43 -0400 Received: by yxk8 with SMTP id 8so4302058yxk.29 for ; Tue, 02 Aug 2011 08:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=uCmRCan9b8t+eGC3mwBm75W2eAIyhP7odICApGX+9HM=; b=k+iZkGE3BKgxO7nqcBTl9I+kozIDHh+L+VaCS49EYrSlUdtQBVT4bzEGhZ07ZgLUh+ wz6Q4U5+qGuO9R4o03ViajlKO8YrUzeLGHT1wMp2OSxUyp0QtHCSUjKLjpChyEMWHyfS T3g9gFEfVoYxAjLwOyUajNqEpgVAXaoAKb7nA= Received: by 10.142.152.32 with SMTP id z32mr3577339wfd.396.1312299700205; Tue, 02 Aug 2011 08:41:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.51.8 with HTTP; Tue, 2 Aug 2011 08:41:20 -0700 (PDT) In-Reply-To: References: Date: Tue, 2 Aug 2011 16:41:20 +0100 Message-ID: To: Laruence 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: juzna.cz@gmail.com (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 as > 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 > >