#21899 [NEW]: Wrong example in wordwrap
| From: | tix@php.net | Date: | Mon, 27 Jan 2003 12:25:11 +0000 |
| Subject: | #21899 [NEW]: Wrong example in wordwrap | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969351341@lists.php.net to get a copy of this message | ||
From: tix@php.net
Operating system:
PHP version: 4.3.0
PHP Bug Type: Documentation problem
Bug description: Wrong example in wordwrap
Hi,
someone wrote a note for wordwrap function
(http://www.php.net/manual/en/function.wordwrap.php) which contains the
following:
"The first example is not a very good one, since "jumped over the lazy
dog." is longer than 20 characters. :)"
And it's true, the example output is wrong. The lines should be cutted by
20 characters.
Greetings
Oliver
--
Edit bug report at http://bugs.php.net/?id=21899&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21899&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21899&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21899&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21899&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21899&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21899&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21899&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21899&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21899&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21899&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21899&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21899&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21899&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21899&r=gnused