Re: 1 byte overflow in wordwrap

From: Date: Mon, 18 Mar 2002 00:53:57 +0000
Subject: Re: 1 byte overflow in wordwrap
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-81405@lists.php.net to get a copy of this message
On Mon, Mar 18, 2002 at 12:34:12AM +0000, Wez Furlong wrote: > debug("wordwrap: char=" . ord($char) . " cut=" . $cut); you must be using a multi-character linebreak (probably "\r\n"). otherwise the allocation that is being overflown would not be made ('cause it is in the multi-character-line-ending or forced cut path). what line length are you wrapping to? jim

« previous php.dev (#81405) next »