wordwrap with negative width

From: Date: Tue, 04 Oct 2016 02:20:40 +0000
Subject: wordwrap with negative width
Groups: php.internals 
Request: Send a blank email to internals+get-96204@lists.php.net to get a copy of this message
Hi! 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? -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#96204) next »