|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41826 function chunk_split doesen't work
Submitted: 2007-06-27 15:08 UTC Modified: 2007-07-05 01:00 UTC
From: mueller at spot-media dot de Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.4.7 OS: Debian etch
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mueller at spot-media dot de
New email:
PHP Version: OS:


 [2007-06-27 15:08 UTC] mueller at spot-media dot de
The function chunk_split doesn't work in 4.4.7. I know it works in 4.4.4. It just returns false.

Reproduce code:
$body = "ABCDEFGHIJK";
$chunken = 2;
$end = ";";
var_dump( chunk_split($body,$chunken,$end));

Expected result:
return (string) AB;CD;EF;GH;IJ;K;

Actual result:
(bool) false


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-27 15:50 UTC]
Works perfectly fine here.
 [2007-07-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 05:01:29 2024 UTC