php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #21899 Wrong example in wordwrap
Submitted: 2003-01-27 06:25 UTC Modified: 2003-01-27 07:00 UTC
From: tix@php.net Assigned: cortesi (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.3.0 OS:
Private report: No CVE-ID: None
 [2003-01-27 06:25 UTC] tix@php.net
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

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-27 06:42 UTC] cortesi@php.net
assign to myself
 [2003-01-27 07:00 UTC] cortesi@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 12 23:01:27 2024 UTC