|  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
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: alberty at neptunlabs dot de
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 17:01:27 2024 UTC