|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-12-30 23:20 UTC] cmb@php.net
-Package: Feature/Change Request
+Package: Strings related
[2020-12-08 12:43 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2020-12-08 12:43 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 14:00:01 2025 UTC |
Description: ------------ Maybe this function is usefull enough to implement into php Reproduce code: --------------- $value = explode("#BREAK#", wordwrap($value, $length, "#BREAK#", 1)); Expected result: ---------------- $value[0] = "Line #1"; $value[1] = "Line #2"; $value[2] = "Line #3"; $value[3] = "Line #4"; $value[4] = "Line #5"; $value[5] = "Line #6";