Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54579 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70737 invoked from network); 14 Aug 2011 13:05:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2011 13:05:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:60765] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/C2-50938-FF7C74E4 for ; Sun, 14 Aug 2011 09:05:03 -0400 Received: by gxk27 with SMTP id 27so3178931gxk.29 for ; Sun, 14 Aug 2011 06:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=RrPRT38TH7KY41A5cbjeObzvOBF6ed/xWz214+FpFIg=; b=wwjx2BmaMWrVM5IDKY2qLVOaoxB0UWfeXlY+XsqpXT6ZcsEh23BXbGciqsyzNv3/KK FW0t4h4D1UfA9TqHrPyiFDL2j7gNYb7kzux+lz4i1/keabsdUfYCiY0pcBmac/Cv+XEm f9Ioqk1H0x+llur7TRkUqe7TkhRnuQb3C6G5E= MIME-Version: 1.0 Received: by 10.236.154.42 with SMTP id g30mr2614445yhk.236.1313327101386; Sun, 14 Aug 2011 06:05:01 -0700 (PDT) Received: by 10.146.168.9 with HTTP; Sun, 14 Aug 2011 06:05:01 -0700 (PDT) In-Reply-To: References: Date: Sun, 14 Aug 2011 15:05:01 +0200 Message-ID: To: Derick Rethans Cc: Laruence , 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: tyra3l@gmail.com (Ferenc Kovacs) >> imo the patch is consistent with how substr works: >> tyrael@thor:~$ php -d display_errors=3D1 -d error_reporting=3D-1 -r 'ech= o >> substr("prefix_num", -100);' >> prefix_num > > Maybe, but I would classify *that* as a bug as it makes no sense at all. > I don't mind that, and imho laruence would be happy to change the patch, after we fix this "bug". But thats a separate issue, and we should also keep in mind the BC break for that. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu