On 18/03/02, "Jim Winstead" <[EMAIL PROTECTED]> wrote:
> Wez Furlong <[EMAIL PROTECTED]> wrote:
> > I'll see if I can force it to happen in isolation.
> are you passing a fourth parameter to wordwrap?

Yes; it's always 0.
 
> 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.

It's quite a rare occurrence; I've only seen it twice in two days,
and I'd estimate that wordwrap gets called around 250-300 times 
per day.
I'll see if I get time to reproduce it tonight; I've some things
to do with the streams first.
 
> (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. :)

Ah. :-)

--Wez.


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

Reply via email to