Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96350 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3873 invoked from network); 13 Oct 2016 19:40:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2016 19:40:44 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:50521] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/62-41968-A33EFF75 for ; Thu, 13 Oct 2016 15:40:44 -0400 Received: (qmail 64437 invoked by uid 89); 13 Oct 2016 19:40:38 -0000 Received: from unknown (HELO mail-qk0-f180.google.com) (yohgaki@ohgaki.net@209.85.220.180) by 0 with ESMTPA; 13 Oct 2016 19:40:38 -0000 Received: by mail-qk0-f180.google.com with SMTP id z190so111062966qkc.2 for ; Thu, 13 Oct 2016 12:40:38 -0700 (PDT) X-Gm-Message-State: AA6/9RlNEcSJV0N5kqyzKDY1o1qmjwMaSso1E2YXCQ4sBz5XTsuY3kobVViicpNpu8qFLtcaU1XYEVIVi58uaw== X-Received: by 10.55.151.70 with SMTP id z67mr9370566qkd.185.1476387632173; Thu, 13 Oct 2016 12:40:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.84.168 with HTTP; Thu, 13 Oct 2016 12:39:51 -0700 (PDT) In-Reply-To: <5023d189-21de-93a0-b2fc-8fae77fbbe48@gmail.com> References: <12ecd7d8-2c72-d835-a1af-20698ee9885c@gmail.com> <19522e77-7084-57e7-1fb1-e31b1f9d3c89@gmail.com> <5023d189-21de-93a0-b2fc-8fae77fbbe48@gmail.com> Date: Fri, 14 Oct 2016 04:39:51 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Stanislav Malyshev Cc: Niklas Keller , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] wordwrap with negative width From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Stas, Niklas, On Thu, Oct 13, 2016 at 2:13 PM, Stanislav Malyshev wrote: >> Sorry for the late reply. Why not keep the current behavior + warning? > > Because current behavior makes no sense, negative length is not really > something that exists. I agree Stas. If we consider compatibility, keeping nonsense behavior is better. However, who sets negative offset and make use of it? Compatibility is important, but this current behavior is not important, IMO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net