RE: [PHP] bug in 4.0.2 (wordwrap function)?
| From: | Richard Heyes | Date: | Thu, 28 Sep 2000 10:55:46 +0000 |
| Subject: | RE: [PHP] bug in 4.0.2 (wordwrap function)? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17891@lists.php.net to get a copy of this message | ||
> I upgraded from php 3.x to 4.0.2 explicity because of a
> function called
> wordwrap which is exactly what I need to solve a problem for
> a client. The
> problem is, this funcition does NOT work as described in the
> documentation... using the example at the bottom:
If you want the text cut at the wrap point you could look at
chunk_split().
IIRC this was in PHP3.
HTH
--
Richard Heyes
http://www.heyes-computing.net/scripts/