Doc #64092 [Asn->Csd]: wordwrap: details regarding word separation character

From: Date: Wed, 22 Apr 2015 14:27:48 +0000
Subject: Doc #64092 [Asn->Csd]: wordwrap: details regarding word separation character
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12224@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64092&edit=1 ID: 64092 Updated by: pasindu@php.net Reported by: datibbaw@php.net Summary: wordwrap: details regarding word separation character -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: pasindu Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2015-04-22 14:25:40] pasindu@php.net Automatic comment from SVN on behalf of pasindu Revision: http://svn.php.net/viewvc/?view=revision&revision=336614 Log: Fix bug #64092, Added description and example for parameter "cut" is false and word is long than width. ------------------------------------------------------------------------ [2015-04-19 15:19:59] pasindu@php.net working on a patch, with a example ------------------------------------------------------------------------ [2013-01-29 07:36:31] datibbaw@php.net Description: ------------ It's not obvious from the documentation that the function uses the space character to determine where to cut the string if $cut == false and a line extends $width characters. Here's a related question from SO: http://stackoverflow.com/questions/14576041/wordwrap-word-separator-in- php/14577703#14577703 Test script: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64092&edit=1

« previous php.doc.bugs (#12224) next »