|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #35276 exploding_wordwrap
Submitted: 2005-11-18 14:46 UTC Modified: 2016-12-30 23:20 UTC
From: teunkloosterman at gmail dot com Assigned:
Status: Open Package: Strings related
PHP Version: 5.1.0RC5 OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: teunkloosterman at gmail dot com
New email:
PHP Version: OS:


 [2005-11-18 14:46 UTC] teunkloosterman at gmail dot com
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";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:20 UTC]
-Package: Feature/Change Request +Package: Strings related
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 21:01:23 2020 UTC