On Tue, Oct 4, 2016 at 11:20 AM, Stanislav Malyshev <smalys...@gmail.com> wrote:
> I've just discovered that wordwrap() (http://php.net/wordwrap) accepts
> negative width parameter and treats it as if it was 0. It looks like a
> bug, never documented and works in code only by accident as far as I can
> see. So, my question is - would it be OK to drop support for negative
> width in wordwrap?

It should be a user script bug.
+1

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to