Dominik Roettsches wrote: > Hi there, > > I've been searching for a PHP implementation of the GNU textformatting tool > fmt (http://www.gnu.org/software/textutils/textutils.html) which provides an > almost optimal linebreak for your text. > > I'm not skilled in enough in C programming to implement such a feature for > PHP but I'd really appreciate having this algorithm available in a simple > PHP function. > > My question is, if there's anyone who is interested in implementing this for > PHP, so that we can see it in one of the next releases? > > I think, the function would be very useful to do some pretty reformatting of > text when for example sending mail or in general doing text formatted > output. > > Thanks for your replies in advance, > > Dominik >
This is nice to have. For now, it is possible to use `` or exec(), if system support the command. It does not work under safe mode, we need native support though. How about submit bug report (Feature Request)? -- Yasuo Ohgaki -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]