Re: 1 byte overflow in wordwrap

From: Date: Sun, 17 Mar 2002 18:45:46 +0000
Subject: Re: 1 byte overflow in wordwrap
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-81395@lists.php.net to get a copy of this message
Wez Furlong <wez@thebrainroom.com> wrote: > I'll see if I can force it to happen in isolation. are you passing a fourth parameter to wordwrap? the easiest way to track it down would be to insert some debugging statements in the wordwrap() function to print out the text being wrapped, the newtextlen that gets calculated, and then value of newtextlen at the end of the function. (this code is all new since 4.1.x, so this particular bug likely does not exist in those versions. the old implementation has an entirely different set of bugs. :) jim

« previous php.dev (#81395) next »