|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13284 Other behavior of chunk_split in 4.07
Submitted: 2001-09-13 09:07 UTC Modified: 2001-10-20 06:27 UTC
From: alberty at neptunlabs dot de Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0CVS-2001-09-13 OS: i686-pc-linux-gnu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
42 + 21 = ?
Subscribe to this entry?

 [2001-09-13 09:07 UTC] alberty at neptunlabs dot de

in the current cvs version (407|408)
the following code have another result
as in PHP <=406

echo chunk_split(str_repeat('x',1024),100);

chunk_split dont split the strings if a 
split size is given.

Without the splitsize, ...
echo chunk_split(str_repeat('x',1024));
... chunk_split works correct.




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 06:02 UTC]
Works fine for me on 4.1.0RC1.
 [2001-10-20 06:27 UTC]
Indeed, I commited a fix for this some time ago.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 15:01:24 2023 UTC