PHP 4.0 Bug #6429: wordwrap() function should have cutting option and handle tabs
| From: | gerbil at ucdavis dot edu | Date: | Wed, 30 Aug 2000 06:38:22 +0000 |
| Subject: | PHP 4.0 Bug #6429: wordwrap() function should have cutting option and handle tabs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31192@lists.php.net to get a copy of this message | ||
From: gerbil@ucdavis.edu
Operating system: Win98
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: wordwrap() function should have cutting option and handle tabs
The new wordwrap function should have a cutting option:
When the the line is longer than the wrap length (such as a URL), there should be an option for
either to cut it at that length, or leave it uncut (which is what PHP 4.0.2 currently does).
Also, PHP 4.0.2 treats tabs as a single character, when it normally occupies the space of 8
characters. It should be able to handle tabs.