Re: Re: Suggestion: Adding fmt like linebreak algorithm

From: Date: Wed, 26 Dec 2001 19:13:15 +0000
Subject: Re: Re: Suggestion: Adding fmt like linebreak algorithm
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-75055@lists.php.net to get a copy of this message
On Wed, Dec 26, 2001 at 01:10:47PM +0100, derick@php.net wrote: > On Wed, 26 Dec 2001, Markus Fischer wrote: > > > On Wed, Dec 26, 2001 at 02:22:02AM -0000, Dominik Roettsches wrote : > > > Another suggestion is to replace the wordwrap code by the algorithm of > > > Knuth. > > > > This would break BC and therefore isn't an option. > > Only changin the algorithm, but not touching the parameters will not break > BC IMO. It just outputs something different, but that isn't a problem with > wrapping lines IMO. I think it's okay if you just use the wordwrap part of fmt. I don't like the idea of wordwrap() doing the other stuff fmt does. Better add a new function then. Stig

« previous php.dev (#75055) next »