note 46876 deleted from function.wordwrap by danbrown

From: Date: Sun, 17 May 2009 18:36:35 +0000
Subject: note 46876 deleted from function.wordwrap by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155147@lists.php.net to get a copy of this message
Note Submitter: ophir prusak ---- There is an error in the documentation. The docs currently say: If the cut is set to 1, the string is always wrapped at the specified width. So if you have a word that is larger than the given width, it is broken apart. (See second example). It should be something like this: If the cut is set to 1, words longer than the given width will be wrapped at the specified width, otherwise they will not be wrapped at all. Words that are not longer than width are not effected by the cut parameter. Ophir Prusak

« previous php.notes (#155147) next »